3d7ee98dd6
In debug mode, show the layer count instead of the shaded image. This reveals a bug: testing whether the hit depth is NaN doesn't actually detect sphere misses, because `sphere_cast` returns -1 rather than NaN to indicate a miss. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
index.html | ||
main.css |