1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix rounding error in g/set_node caused by truncation to float

This commit is contained in:
rubenwardy 2017-12-22 10:00:57 +00:00 committed by paramat
parent 0bcc2f33eb
commit 026ad912af
3 changed files with 54 additions and 4 deletions

View file

@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <vector3d.h>
typedef core::vector3df v3f;
typedef core::vector3d<double> v3d;
typedef core::vector3d<s16> v3s16;
typedef core::vector3d<u16> v3u16;
typedef core::vector3d<s32> v3s32;