Fix compilation with UseLargeWorlds

This commit is contained in:
Wojtek Figat
2023-04-18 19:44:32 +02:00
parent 0842a95dd6
commit a500f88b4c
2 changed files with 2 additions and 2 deletions

View File

@@ -961,7 +961,7 @@ namespace FlaxEngine
/// <param name="result">When the method completes, contains the cubic interpolation of the two vectors.</param>
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);
}

View File

@@ -1050,7 +1050,7 @@ namespace FlaxEngine
/// <param name="result">When the method completes, contains the cubic interpolation of the two vectors.</param>
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);
}