diff options
author | kwolekr <kwolekr@minetest.net> | 2015-04-27 04:05:25 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-04-27 04:05:25 -0400 |
commit | 415167b228dea8b4108d7fe164c7fec8c061dcf5 (patch) | |
tree | 47f147beffc37d4d08c341f50825ce9edc1e6b17 /src/json/CMakeLists.txt | |
parent | cd1d625ab21e741e91be7d2190bb4fd59fab3200 (diff) | |
download | minetest-415167b228dea8b4108d7fe164c7fec8c061dcf5.tar.gz minetest-415167b228dea8b4108d7fe164c7fec8c061dcf5.tar.bz2 minetest-415167b228dea8b4108d7fe164c7fec8c061dcf5.zip |
Noise: Fix PcgRandom::randNormalDist() when range contains negative numbers
This fixes an issue with erroneous float-to-int rounding that resulted in
truncation toward 0, causing a biased distribution.
Diffstat (limited to 'src/json/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions