summaryrefslogtreecommitdiff
path: root/src/libs/din/din.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-12-31 14:03:53 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-12-31 14:33:32 -0800
commit724af6edee317eb281ffb847f5ea4282e5db6431 (patch)
treedd554826544397c3937dd7e3655572b81f0e6b7a /src/libs/din/din.h
parentefa9704c684ecad98341799245458844e7577010 (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/din/din.h')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved