mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-06 06:10:06 +03:00
Reintroduce Math_INF and Math_NAN defines
(cherry picked from commit 6a21f76c4d)
This commit is contained in:
committed by
David Snopek
parent
d7bdc62a91
commit
a8faa36fd2
@@ -44,6 +44,8 @@ namespace godot {
|
|||||||
#define Math_TAU 6.2831853071795864769252867666
|
#define Math_TAU 6.2831853071795864769252867666
|
||||||
#define Math_PI 3.1415926535897932384626433833
|
#define Math_PI 3.1415926535897932384626433833
|
||||||
#define Math_E 2.7182818284590452353602874714
|
#define Math_E 2.7182818284590452353602874714
|
||||||
|
#define Math_INF INFINITY
|
||||||
|
#define Math_NAN NAN
|
||||||
|
|
||||||
#ifdef DEBUG_ENABLED
|
#ifdef DEBUG_ENABLED
|
||||||
#define MATH_CHECKS
|
#define MATH_CHECKS
|
||||||
|
|||||||
Reference in New Issue
Block a user