summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-12 15:20:33 +0100
committermadmaxoft <github@xoft.cz>2014-03-12 15:20:33 +0100
commitec23e2591e710645f8b339599a187853e8af404a (patch)
treef293d0fe8d1211261eb454efb6a36c3ebfcdcf73
parentMerge remote-tracking branch 'xdot/master' (diff)
parentM_PI MSVC Fix (diff)
downloadcuberite-ec23e2591e710645f8b339599a187853e8af404a.tar
cuberite-ec23e2591e710645f8b339599a187853e8af404a.tar.gz
cuberite-ec23e2591e710645f8b339599a187853e8af404a.tar.bz2
cuberite-ec23e2591e710645f8b339599a187853e8af404a.tar.lz
cuberite-ec23e2591e710645f8b339599a187853e8af404a.tar.xz
cuberite-ec23e2591e710645f8b339599a187853e8af404a.tar.zst
cuberite-ec23e2591e710645f8b339599a187853e8af404a.zip
Diffstat (limited to '')
-rw-r--r--src/Matrix4.h2
-rw-r--r--src/Vector3.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Matrix4.h b/src/Matrix4.h
index a20c019e9..456677f0f 100644
--- a/src/Matrix4.h
+++ b/src/Matrix4.h
@@ -3,7 +3,7 @@
-
+#define _USE_MATH_DEFINES // Enable non-standard math defines (MSVC)
#include <math.h>
diff --git a/src/Vector3.h b/src/Vector3.h
index 80583879a..b7a810fc5 100644
--- a/src/Vector3.h
+++ b/src/Vector3.h
@@ -3,7 +3,7 @@
-
+#define _USE_MATH_DEFINES // Enable non-standard math defines (MSVC)
#include <math.h>