summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2017-06-02 10:20:35 -0700
committerVito Caputo <vcaputo@pengaru.com>2017-06-02 10:20:35 -0700
commit69e3a23a89b0b4567de92c004946113ce2db0151 (patch)
treee96bfb95a6cba9cef77af77413a0c1763e038fc3 /src/util.c
parent2878f5ca93eb04239f30312a927fd9e8c4aaf5e4 (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
© All Rights Reserved