From 5e938f000136c076f9f35b8332dc7c022687a983 Mon Sep 17 00:00:00 2001 From: Saracen Date: Mon, 6 Feb 2017 22:44:22 +0000 Subject: Inf and NaN support added to GDScript. --- core/math/math_funcs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/math') 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 { -- cgit v1.2.3