summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-03-12 15:13:03 +0100
committerandrew <xdotftw@gmail.com>2014-03-12 15:13:03 +0100
commit6f2bb0ad44592ac42334dc627afd3ad734b7a4ab (patch)
tree4a8325698b991990c80455933dd3bb0411f1521b /src
parentVector3: Length() should always return a float (diff)
downloadcuberite-6f2bb0ad44592ac42334dc627afd3ad734b7a4ab.tar
cuberite-6f2bb0ad44592ac42334dc627afd3ad734b7a4ab.tar.gz
cuberite-6f2bb0ad44592ac42334dc627afd3ad734b7a4ab.tar.bz2
cuberite-6f2bb0ad44592ac42334dc627afd3ad734b7a4ab.tar.lz
cuberite-6f2bb0ad44592ac42334dc627afd3ad734b7a4ab.tar.xz
cuberite-6f2bb0ad44592ac42334dc627afd3ad734b7a4ab.tar.zst
cuberite-6f2bb0ad44592ac42334dc627afd3ad734b7a4ab.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>