Skip to content

Commit 6a21f76

Browse files
committed
Reintroduce Math_INF and Math_NAN defines
1 parent 8bb931c commit 6a21f76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/godot_cpp/core/math_defs.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ namespace godot {
4444
#define Math_TAU 6.2831853071795864769252867666
4545
#define Math_PI 3.1415926535897932384626433833
4646
#define Math_E 2.7182818284590452353602874714
47+
#define Math_INF INFINITY
48+
#define Math_NAN NAN
4749

4850
#ifdef DEBUG_ENABLED
4951
#define MATH_CHECKS

0 commit comments

Comments
 (0)