Skip to content

Commit

Permalink
Added sign to vector3i
Browse files Browse the repository at this point in the history
  • Loading branch information
Tornado-Technology committed Aug 29, 2024
1 parent 73c57b8 commit e648380
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Hypercube.Mathematics/Vectors/Vector3i.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e648380

Please sign in to comment.