diff options
author | Rogier-5 <rogier777@gmail.com> | 2016-11-11 09:30:37 +0100 |
---|---|---|
committer | Zeno- <kde.psych@gmail.com> | 2016-11-11 18:30:37 +1000 |
commit | b98f98b367f2c55d5a0bff4bafaaa183b3746403 (patch) | |
tree | c76817eb29ffc8ec633888a834cfeeef5f890c84 /src/util/numeric.h | |
parent | 7e17eaedb2e697581ace1bd038781f908e19a985 (diff) | |
download | minetest-b98f98b367f2c55d5a0bff4bafaaa183b3746403.tar.gz minetest-b98f98b367f2c55d5a0bff4bafaaa183b3746403.tar.bz2 minetest-b98f98b367f2c55d5a0bff4bafaaa183b3746403.zip |
Fix incorrect distance computation for visible blocks (#4765)
The client would not compute the distance from the camera to
to a mapblock correctly. The result was that blocks that were in
view (i.e. not beyond the fog limit) would not be rendered.
With the improved distance computation, a range adjustment that
existed in clientiface.cpp is no longer required.
Diffstat (limited to 'src/util/numeric.h')
0 files changed, 0 insertions, 0 deletions