about summary refs log tree commit diff stats
path: root/apps/survey.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-04 23:12:21 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-04 23:12:21 -0700
commitcdff5d73ceaa269bc1d262d6f7b6fdda794de56b (patch)
treef8c24e29b471fd9e020aa954e94d3d1882051bcc /apps/survey.subx
parent00af72ccb0d342feda053191793678e41548ee72 (diff)
downloadmu-cdff5d73ceaa269bc1d262d6f7b6fdda794de56b.tar.gz
6952 - raytracing: much better
The image is now visually indistinguishable from the baseline, though the
file isn't quite bit-for-bit correct.

I found 3 bugs:
a) I forgot to normalize the ray. After creating a helper to "automatically"
do it for me, it turns out said helper requires manually using.
b) I forgot to multiply by t at one place.
c) vec3-length was half-written.

For the umpteenth time, the bugs were all in the last place I looked. I
was worried about spending a lot of time transcribing `main` without any
feedback, but that turned out to be perfect.
Diffstat (limited to 'apps/survey.subx')
0 files changed, 0 insertions, 0 deletions