From 09c6cb1250aa5f770ceab9edc1c3e35134cd35d5 Mon Sep 17 00:00:00 2001 From: Travis Lange Date: Thu, 29 Feb 2024 08:25:37 -0500 Subject: [PATCH] Fix C# epsilon compiler error on double precision build --- modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs index 9020602cb4c6..f8ff78790e95 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs @@ -29,7 +29,7 @@ public static partial class Mathf /// 1e-06 with single-precision floats, but 1e-14 if REAL_T_IS_DOUBLE. /// #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