Merge pull request #1817 from Naros/GH-1816

Reintroduce Math_INF and Math_NAN defines
This commit is contained in:
David Snopek
2025-07-23 14:12:56 -05:00
committed by GitHub

View File

@@ -44,6 +44,8 @@ namespace godot {
#define Math_TAU 6.2831853071795864769252867666
#define Math_PI 3.1415926535897932384626433833
#define Math_E 2.7182818284590452353602874714
#define Math_INF INFINITY
#define Math_NAN NAN
#ifdef DEBUG_ENABLED
#define MATH_CHECKS