diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-12-31 14:03:53 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-12-31 14:33:32 -0800 |
commit | 724af6edee317eb281ffb847f5ea4282e5db6431 (patch) | |
tree | dd554826544397c3937dd7e3655572b81f0e6b7a /src/libs/ray/ray_gamma.h | |
parent | efa9704c684ecad98341799245458844e7577010 (diff) |
libs/din: remove unnecessary floorf() from din()
These are being assigned to ints to index the grid and will
become rounded down through truncation anyways.
This little change brings a ~20% FPS boost in modules/swab on
an i7 x230.
Diffstat (limited to 'src/libs/ray/ray_gamma.h')
0 files changed, 0 insertions, 0 deletions