summaryrefslogtreecommitdiff
path: root/src/modules/stars
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2019-12-18 14:11:08 -0800
committerVito Caputo <vcaputo@pengaru.com>2019-12-18 14:11:08 -0800
commite34a7f986a6f45719554f50b5215affcf60325f7 (patch)
tree9da560a6d267109a78398140ddcfae3df1c5ddae /src/modules/stars
parent5f53f51e411189fc669c24be3852b42fa5121db5 (diff)
libs/din: fix scaling overflow, add asserts
Phil reported a crash in swab, illuminating an overflow in how the unit cube was being scaled to the noise field dimensions. Added some asserts enforcing critical assumptions as well, though it will probably cost some FPS in din-heavy modules like swab.
Diffstat (limited to 'src/modules/stars')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved