diff --git a/X10D/src/SingleExtensions/SingleExtensions.cs b/X10D/src/SingleExtensions/SingleExtensions.cs index 79d8bd1..544ebf2 100644 --- a/X10D/src/SingleExtensions/SingleExtensions.cs +++ b/X10D/src/SingleExtensions/SingleExtensions.cs @@ -12,7 +12,7 @@ public static class SingleExtensions /// The result of π * / 180. public static float DegreesToRadians(this float value) { - return MathF.PI * value / 180.0f; + return value * (MathF.PI / 180.0f); } ///