From a500f88b4ccdb2c97bea67da5b996212324d3c64 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 18 Apr 2023 19:44:32 +0200 Subject: [PATCH] Fix compilation with `UseLargeWorlds` --- Source/Engine/Core/Math/Vector2.cs | 2 +- Source/Engine/Core/Math/Vector3.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }