diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2017-06-02 10:20:35 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2017-06-02 10:20:35 -0700 |
commit | 69e3a23a89b0b4567de92c004946113ce2db0151 (patch) | |
tree | e96bfb95a6cba9cef77af77413a0c1763e038fc3 /src/util.c | |
parent | 2878f5ca93eb04239f30312a927fd9e8c4aaf5e4 (diff) |
ray: simplify trace_ray inner loop slightly
Remove unnecessary nearest_object check, the distance comparison alone
is sufficient when initialized to INFINITY.
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions