From 0b19d8639b7ee5395dd06080b07f6fccc6fb2122 Mon Sep 17 00:00:00 2001 From: Norite SC <162097313+cNori@users.noreply.github.com> Date: Sun, 7 Apr 2024 03:02:47 +0200 Subject: [PATCH] changed float to Real --- Source/Engine/Core/Math/Vector3.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Engine/Core/Math/Vector3.cs b/Source/Engine/Core/Math/Vector3.cs index 23b4b5368..3cb19fbaf 100644 --- a/Source/Engine/Core/Math/Vector3.cs +++ b/Source/Engine/Core/Math/Vector3.cs @@ -1765,7 +1765,7 @@ namespace FlaxEngine /// /// /// index or -1 if all vectors in array are outside of - private int GetClosest(ref Vector3[] InArray, float Tolerance) + private int GetClosest(ref Vector3[] InArray, Real Tolerance) { Vector3 self = this; int FinalID = -1; @@ -1786,7 +1786,7 @@ namespace FlaxEngine /// /// /// index or -1 if all vectors in array are outside of - private int GetClosest(ref System.Collections.Generic.List InList, float Tolerance) + private int GetClosest(ref System.Collections.Generic.List InList, Real Tolerance) { Vector3 self = this; int FinalID = -1; @@ -1807,7 +1807,7 @@ namespace FlaxEngine /// /// /// - private void GetClosest(ref Vector3[] InArray, ref Vector3 OutVector, ref float OutDistance) + private void GetClosest(ref Vector3[] InArray, ref Vector3 OutVector, ref Real OutDistance) { Vector3 self = this; float LastDistance = float.MaxValue; @@ -1830,7 +1830,7 @@ namespace FlaxEngine /// /// /// - private void GetClosest(ref System.Collections.Generic.List InList, ref Vector3 OutVector, ref float OutDistance) + private void GetClosest(ref System.Collections.Generic.List InList, ref Vector3 OutVector, ref Real OutDistance) { Vector3 self = this; float LastDistance = float.MaxValue;