diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-07-14 23:54:30 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-07-14 23:54:30 -0600 |
commit | e597c5dfda095ee29a5906c80e69da43eab7d134 (patch) | |
tree | 3835e92ac35c6911c0ce299b4c9ba0e90aa344f8 /libdimension/ambient.c | |
parent | 2c19b642d8b870d481e407d7671d62c234c3ec51 (diff) | |
download | dimension-e597c5dfda095ee29a5906c80e69da43eab7d134.tar.xz |
Precalculate 1.0/ray.n.{x,y,z} for ray-box intersection tests.
This saves us nearly a factor of 2, and I feel silly for not doing this before.
Diffstat (limited to 'libdimension/ambient.c')
0 files changed, 0 insertions, 0 deletions