summaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorSaracen <SaracenOne@gmail.com>2017-02-06 22:44:22 +0000
committerSaracen <SaracenOne@gmail.com>2017-02-28 21:52:33 +0000
commit5e938f000136c076f9f35b8332dc7c022687a983 (patch)
treea8e79b3f4a557ce4097791f5622728c69d22764f /core/math
parent0f8c6dd3822c38b8145f08265abb9eba479f4d15 (diff)
Inf and NaN support added to GDScript.
Diffstat (limited to 'core/math')
-rw-r--r--core/math/math_funcs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/math_funcs.h b/core/math/math_funcs.h
index 51877891e3..da7d534a4e 100644
--- a/core/math/math_funcs.h
+++ b/core/math/math_funcs.h
@@ -39,6 +39,7 @@
#define Math_PI 3.14159265358979323846
#define Math_SQRT12 0.7071067811865475244008443621048490
#define Math_LN2 0.693147180559945309417
+#define Math_INF INFINITY
#define Math_NAN NAN
class Math {