diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2017-05-26 23:46:41 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2017-05-26 23:46:41 -0700 |
commit | 28d8022265a12e5032ddb54077f90af9f1bcb4f5 (patch) | |
tree | c1fe2707eac86a15be4929e567ecb418ce9ccb33 /src/modules/ray/ray_scene.c | |
parent | b8338217569a871cee6e91e3fd07766191667663 (diff) |
ray: s/nlerp/lerp/ where normalize is unnecessary
It's only necessary to normalize the direction stored vector in x_step(),
the rest can simply be linearly interpolated which saves some divides.
Diffstat (limited to 'src/modules/ray/ray_scene.c')
0 files changed, 0 insertions, 0 deletions