Struct Int2 Extends System::IEquatable<Int2>

Public

Two Dimensional Integer Coordinate Pair.

Public Methods

Equals (o)
Public
Equals (other)
Public
GetHashCode ()
Public
Int2 (x, y)
Public
ToString ()
Public

Public Static Methods

DotLong (a, b)

Dot product of the two coordinates.

Public Static
FromInt3XZ (o)
Public Static
Max (a, b)
Public Static
Min (a, b)
Public Static
operator!= (a, b)
Public Static
operator+ (a, b)
Public Static
operator- (a, b)
Public Static
operator== (a, b)
Public Static
ToInt3XZ (o)
Public Static

Public Variables

sqrMagnitudeLong
Public
x
Public
y
Public

Private/Protected Members

Rotations

Matrices for rotation.

Private Static Readonly

Deprecated Members

Rotate (v, r)

Returns a new Int2 rotated 90*r degrees around the origin.

Public Static