FiE-Game/Assets/Plugins/GameDataEditor/VectorExtensions.cs
2023-07-19 18:11:02 +01:00

15 lines
No EOL
415 B
C#

// Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// GameDataEditor.VectorExtensions
using GameDataEditor;
using UnityEngine;
namespace GameDataEditor
{
public static class VectorExtensions
{
public static bool NearlyEqual(this Vector3 variable, Vector3 other)
{
return variable.x.NearlyEqual(other.x) && variable.y.NearlyEqual(other.y) && variable.z.NearlyEqual(other.z);
}
}
}