Merge pull request #88994 from TCROC/fix-c#-missing-epsilon-64bit

Fix C# epsilon compiler error on double precision build
This commit is contained in:
Rémi Verschelde 2024-02-29 15:18:47 +01:00
commit b0c184c9c9
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -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