summaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-02-28 23:00:30 +0100
committerGitHub <noreply@github.com>2017-02-28 23:00:30 +0100
commitc5df3d4d8d3d6ee74b0dad5eeb45f318c8b205a9 (patch)
treea8e79b3f4a557ce4097791f5622728c69d22764f /core/math
parent0f8c6dd3822c38b8145f08265abb9eba479f4d15 (diff)
parent5e938f000136c076f9f35b8332dc7c022687a983 (diff)
Merge pull request #7787 from SaracenOne/nan_and_inf
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 {