From e648380e0dcaa3dadd3d6864786c917d6c2e72d2 Mon Sep 17 00:00:00 2001 From: Tornado Tech <54727692+Tornado-Technology@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:18:33 +1000 Subject: [PATCH] Added sign to vector3i --- Hypercube.Mathematics/Vectors/Vector3i.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Hypercube.Mathematics/Vectors/Vector3i.cs b/Hypercube.Mathematics/Vectors/Vector3i.cs index b97e993..7419bc6 100644 --- a/Hypercube.Mathematics/Vectors/Vector3i.cs +++ b/Hypercube.Mathematics/Vectors/Vector3i.cs @@ -237,6 +237,12 @@ public Vector3i Abs() { return Abs(this); } + + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Vector3i Sign() + { + return Sign(this); + } [MethodImpl(MethodImplOptions.AggressiveInlining)] public int CompareTo(int other)