Skip to content

Commit

Permalink
Merge pull request #88994 from TCROC/fix-c#-missing-epsilon-64bit
Browse files Browse the repository at this point in the history
Fix C# epsilon compiler error on double precision build
  • Loading branch information
akien-mga committed Feb 29, 2024
2 parents b5d30f9 + 09c6cb1 commit b0c184c
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 b0c184c

Please sign in to comment.