summaryrefslogtreecommitdiff
path: root/modules/mono/glue/cs_files/Quat.cs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mono/glue/cs_files/Quat.cs')
-rw-r--r--modules/mono/glue/cs_files/Quat.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/cs_files/Quat.cs b/modules/mono/glue/cs_files/Quat.cs
index c0bce024cd..c69c55d997 100644
--- a/modules/mono/glue/cs_files/Quat.cs
+++ b/modules/mono/glue/cs_files/Quat.cs
@@ -137,7 +137,7 @@ namespace Godot
real_t sinom, scale0, scale1;
// Calculate coefficients
- if ((1.0 - cosom) > Mathf.Epsilon)
+ if (1.0 - cosom > Mathf.Epsilon)
{
// Standard case (Slerp)
real_t omega = Mathf.Acos(cosom);