summaryrefslogtreecommitdiff
path: root/main_glut.c
diff options
context:
space:
mode:
authorMorten Hustveit <morten.hustveit@gmail.com>2014-12-02 15:10:58 -0500
committerMorten Hustveit <morten.hustveit@gmail.com>2014-12-02 15:10:58 -0500
commit59eb492aac9d1d5a005858f9e32b34ac79cb02a6 (patch)
tree579f236d0773e655c792e12687849f230e6b79e7 /main_glut.c
parentef3f2085ff238469207d099562d61635e1f9e138 (diff)
3dmath.c: Early out of sphere_intersect on t <= 0
The loop in ray.c discards any data from intersections with t <= 0 anyway, so we might as well not calculate it. This saves 15 ms/frame on yelena.
Diffstat (limited to 'main_glut.c')
0 files changed, 0 insertions, 0 deletions