diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2017-06-02 11:28:45 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2017-06-02 11:28:45 -0700 |
commit | a2ca88eba63a98b50a5a7d037d476a9b041c5413 (patch) | |
tree | 8ec724237c8e000f7bc99f2c39fa9c9a4173c251 /src/util.h | |
parent | 90d3a46622d9af4dd9a1ade5cd3491810c3cc3ab (diff) |
ray: precompute primary ray for ray_object_sphere_t
This gets rid of some computation on the primary ray:plane intersection tests
The branches on depth suck though... I'm leaning towards specialized primary
ray intersection test functions.
Diffstat (limited to 'src/util.h')
0 files changed, 0 insertions, 0 deletions