diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-29 15:18:47 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-29 15:18:47 +0100 |
commit | b0c184c9c9e68eff981ee2133d6d46b73ac94f02 (patch) | |
tree | e4e36865b48afffedc58801d04cac53b5d11e25b /modules | |
parent | b5d30f9efea4ca308a2a9cf88777b348719afac9 (diff) | |
parent | 09c6cb1250aa5f770ceab9edc1c3e35134cd35d5 (diff) | |
download | redot-engine-b0c184c9c9e68eff981ee2133d6d46b73ac94f02.tar.gz |
Merge pull request #88994 from TCROC/fix-c#-missing-epsilon-64bit
Fix C# epsilon compiler error on double precision build
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs index 9020602cb4..f8ff78790e 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/MathfEx.cs @@ -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 |