diff --git a/Source/Engine/Core/Math/Vector2.cs b/Source/Engine/Core/Math/Vector2.cs
index ea84628b2..730988556 100644
--- a/Source/Engine/Core/Math/Vector2.cs
+++ b/Source/Engine/Core/Math/Vector2.cs
@@ -961,7 +961,7 @@ namespace FlaxEngine
/// When the method completes, contains the cubic interpolation of the two vectors.
public static void SmoothStep(ref Vector2 start, ref Vector2 end, float amount, out Vector2 result)
{
- amount = Mathr.SmoothStep(amount);
+ amount = Mathf.SmoothStep(amount);
Lerp(ref start, ref end, amount, out result);
}
diff --git a/Source/Engine/Core/Math/Vector3.cs b/Source/Engine/Core/Math/Vector3.cs
index 07798e9a6..d80a6a87f 100644
--- a/Source/Engine/Core/Math/Vector3.cs
+++ b/Source/Engine/Core/Math/Vector3.cs
@@ -1050,7 +1050,7 @@ namespace FlaxEngine
/// When the method completes, contains the cubic interpolation of the two vectors.
public static void SmoothStep(ref Vector3 start, ref Vector3 end, float amount, out Vector3 result)
{
- amount = Mathr.SmoothStep(amount);
+ amount = Mathf.SmoothStep(amount);
Lerp(ref start, ref end, amount, out result);
}