diff options
author | rubenwardy <rw@rubenwardy.com> | 2017-12-22 10:00:57 +0000 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:32:00 +0200 |
commit | df0a8574dcef24e5a12a366cb10f7ac5d69a8b79 (patch) | |
tree | a9c22c93f6f208ce2d43c667454ce7f8709932ac /src/irr_v3d.h | |
parent | 669806725637a7e97ae884b7983da6e19fcaa6f5 (diff) | |
download | minetest-df0a8574dcef24e5a12a366cb10f7ac5d69a8b79.tar.gz minetest-df0a8574dcef24e5a12a366cb10f7ac5d69a8b79.tar.bz2 minetest-df0a8574dcef24e5a12a366cb10f7ac5d69a8b79.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 fa6af3661..3a8d1fd30 100644 --- a/src/irr_v3d.h +++ b/src/irr_v3d.h @@ -25,6 +25,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; |