Skip to content

Commit

Permalink
Fix C# epsilon compiler error on double precision build
Browse files Browse the repository at this point in the history
  • Loading branch information
TCROC committed Feb 29, 2024
1 parent df78c06 commit 09c6cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static partial class Mathf
/// 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
Expand Down

0 comments on commit 09c6cb1

Please sign in to comment.