summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTravis Lange <travislange12@gmail.com>2024-02-29 08:25:37 -0500
committerTravis Lange <travislange12@gmail.com>2024-02-29 08:25:37 -0500
commit09c6cb1250aa5f770ceab9edc1c3e35134cd35d5 (patch)
treeccaa1ec4307d5279cda5d1f2f07ba4b1f3334fe6
parentdf78c0636d79c9545a283e0e2a926d623998cc27 (diff)
downloadredot-engine-09c6cb1250aa5f770ceab9edc1c3e35134cd35d5.tar.gz
Fix C# epsilon compiler error on double precision build
-rw-r--r--modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs
index 9020602cb4..f8ff78790e 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs
@@ -29,7 +29,7 @@ namespace Godot
/// 1e-06 with single-precision floats, but 1e-14 if <c>REAL_T_IS_DOUBLE</c>.
/// </summary>
#if REAL_T_IS_DOUBLE
- public const real_t Epsilon = _epsilonD;
+ public const real_t Epsilon = EpsilonD;
#else
public const real_t Epsilon = EpsilonF;
#endif