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:
commit
b0c184c9c9
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ namespace Godot
|
||||||
/// 1e-06 with single-precision floats, but 1e-14 if <c>REAL_T_IS_DOUBLE</c>.
|
/// 1e-06 with single-precision floats, but 1e-14 if <c>REAL_T_IS_DOUBLE</c>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
#if REAL_T_IS_DOUBLE
|
#if REAL_T_IS_DOUBLE
|
||||||
public const real_t Epsilon = _epsilonD;
|
public const real_t Epsilon = EpsilonD;
|
||||||
#else
|
#else
|
||||||
public const real_t Epsilon = EpsilonF;
|
public const real_t Epsilon = EpsilonF;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue