diff --git a/X10D/src/DoubleExtensions/DoubleExtensions.cs b/X10D/src/DoubleExtensions/DoubleExtensions.cs index 8f52b54..b8ccada 100644 --- a/X10D/src/DoubleExtensions/DoubleExtensions.cs +++ b/X10D/src/DoubleExtensions/DoubleExtensions.cs @@ -62,7 +62,7 @@ public static class DoubleExtensions /// public static double LerpFrom(this double target, double value, double alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -76,7 +76,7 @@ public static class DoubleExtensions /// public static double LerpTo(this double value, double target, double alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -90,7 +90,7 @@ public static class DoubleExtensions /// public static double LerpWith(this double alpha, double value, double target) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// diff --git a/X10D/src/Int16Extensions/Int16Extensions.cs b/X10D/src/Int16Extensions/Int16Extensions.cs index 25313db..5ebc76f 100644 --- a/X10D/src/Int16Extensions/Int16Extensions.cs +++ b/X10D/src/Int16Extensions/Int16Extensions.cs @@ -118,7 +118,7 @@ public static class Int16Extensions /// public static double LerpFrom(this short target, double value, double alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -132,7 +132,7 @@ public static class Int16Extensions /// public static float LerpFrom(this short target, float value, float alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -146,7 +146,7 @@ public static class Int16Extensions /// public static double LerpTo(this short value, double target, double alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -160,7 +160,7 @@ public static class Int16Extensions /// public static float LerpTo(this short value, float target, float alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -174,7 +174,7 @@ public static class Int16Extensions /// public static double LerpWith(this short alpha, double value, double target) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -188,7 +188,7 @@ public static class Int16Extensions /// public static float LerpWith(this short alpha, float value, float target) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// diff --git a/X10D/src/Int32Extensions/Int32Extensions.cs b/X10D/src/Int32Extensions/Int32Extensions.cs index 769ade7..68af49f 100644 --- a/X10D/src/Int32Extensions/Int32Extensions.cs +++ b/X10D/src/Int32Extensions/Int32Extensions.cs @@ -170,7 +170,7 @@ public static class Int32Extensions /// public static double LerpFrom(this int target, double value, double alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -184,7 +184,7 @@ public static class Int32Extensions /// public static float LerpFrom(this int target, float value, float alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -198,7 +198,7 @@ public static class Int32Extensions /// public static double LerpTo(this int value, double target, double alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -212,7 +212,7 @@ public static class Int32Extensions /// public static float LerpTo(this int value, float target, float alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -226,7 +226,7 @@ public static class Int32Extensions /// public static double LerpWith(this int alpha, double value, double target) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -240,7 +240,7 @@ public static class Int32Extensions /// public static float LerpWith(this int alpha, float value, float target) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// diff --git a/X10D/src/Int64Extensions/Int64Extensions.cs b/X10D/src/Int64Extensions/Int64Extensions.cs index 7efaf4e..6054d93 100644 --- a/X10D/src/Int64Extensions/Int64Extensions.cs +++ b/X10D/src/Int64Extensions/Int64Extensions.cs @@ -143,7 +143,7 @@ public static class Int64Extensions /// public static double LerpFrom(this long target, double value, double alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -157,7 +157,7 @@ public static class Int64Extensions /// public static float LerpFrom(this long target, float value, float alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -171,7 +171,7 @@ public static class Int64Extensions /// public static double LerpTo(this long value, double target, double alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -185,7 +185,7 @@ public static class Int64Extensions /// public static float LerpTo(this long value, float target, float alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -199,7 +199,7 @@ public static class Int64Extensions /// public static double LerpWith(this long alpha, double value, double target) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -213,7 +213,7 @@ public static class Int64Extensions /// public static float LerpWith(this long alpha, float value, float target) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// diff --git a/X10D/src/MathUtils.cs b/X10D/src/MathUtility.cs similarity index 97% rename from X10D/src/MathUtils.cs rename to X10D/src/MathUtility.cs index ff51660..4c5a1ea 100644 --- a/X10D/src/MathUtils.cs +++ b/X10D/src/MathUtility.cs @@ -3,7 +3,7 @@ /// /// Provides static helpers methods for mathematical functions not found in the .NET class. /// -public static class MathUtils +public static class MathUtility { /// /// Linearly interpolates from one value to a target using a specified alpha. diff --git a/X10D/src/SingleExtensions/SingleExtensions.cs b/X10D/src/SingleExtensions/SingleExtensions.cs index ec7594e..870ece6 100644 --- a/X10D/src/SingleExtensions/SingleExtensions.cs +++ b/X10D/src/SingleExtensions/SingleExtensions.cs @@ -62,7 +62,7 @@ public static class SingleExtensions /// public static float LerpFrom(this float target, float value, float alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -76,7 +76,7 @@ public static class SingleExtensions /// public static float LerpTo(this float value, float target, float alpha) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } /// @@ -90,7 +90,7 @@ public static class SingleExtensions /// public static float LerpWith(this float alpha, float value, float target) { - return MathUtils.Lerp(value, target, alpha); + return MathUtility.Lerp(value, target, alpha); } ///