diff options
author | rubenwardy <rw@rubenwardy.com> | 2017-12-22 10:00:57 +0000 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-12-26 21:55:08 +0000 |
commit | 026ad912af0ad147071da79201a335ec84bd6ce9 (patch) | |
tree | 430b97ea4eec13f9a3bc565e231bd38572fd7ebb /src/irr_v3d.h | |
parent | 0bcc2f33ebe382a1dafbe6edaf00f476f2584b74 (diff) | |
download | minetest-026ad912af0ad147071da79201a335ec84bd6ce9.tar.gz minetest-026ad912af0ad147071da79201a335ec84bd6ce9.tar.bz2 minetest-026ad912af0ad147071da79201a335ec84bd6ce9.zip |
Fix rounding error in g/set_node caused by truncation to float
Diffstat (limited to 'src/irr_v3d.h')
-rw-r--r-- | src/irr_v3d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irr_v3d.h b/src/irr_v3d.h index 21438d635..3e95c7913 100644 --- a/src/irr_v3d.h +++ b/src/irr_v3d.h @@ -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; |