diff --git a/Source/Engine/Core/Math/Vector2.h b/Source/Engine/Core/Math/Vector2.h index 32372e42d..cff32539d 100644 --- a/Source/Engine/Core/Math/Vector2.h +++ b/Source/Engine/Core/Math/Vector2.h @@ -228,9 +228,9 @@ public: /// Vector2Base GetNormalized() const { - Vector2Base Result(X, Y); - Result.Normalize(); - return Result; + Vector2Base result(X, Y); + result.Normalize(); + return result; } public: diff --git a/Source/Engine/Core/Math/Vector3.h b/Source/Engine/Core/Math/Vector3.h index ff548316a..f2547f47d 100644 --- a/Source/Engine/Core/Math/Vector3.h +++ b/Source/Engine/Core/Math/Vector3.h @@ -254,9 +254,9 @@ public: /// Vector3Base GetNormalized() const { - Vector3Base Result(X, Y, Z); - Result.Normalize(); - return Result; + Vector3Base result(X, Y, Z); + result.Normalize(); + return result; } public: