diff --git a/Source/Engine/Core/Math/Vector2.cs b/Source/Engine/Core/Math/Vector2.cs
index 1120bce2f..2af365638 100644
--- a/Source/Engine/Core/Math/Vector2.cs
+++ b/Source/Engine/Core/Math/Vector2.cs
@@ -962,7 +962,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 0cfa0e248..4442d3334 100644
--- a/Source/Engine/Core/Math/Vector3.cs
+++ b/Source/Engine/Core/Math/Vector3.cs
@@ -1051,7 +1051,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);
}