A* Pathfinding Project
4.3.4
The A* Pathfinding Project for Unity 3D
|
Two Dimensional Integer Coordinate Pair. More...
Two Dimensional Integer Coordinate Pair.
Public Member Functions | |
Int2 (int x, int y) | |
override bool | Equals (System.Object o) |
bool | Equals (Int2 other) |
override int | GetHashCode () |
override string | ToString () |
Static Public Member Functions | |
static long | DotLong (Int2 a, Int2 b) |
Dot product of the two coordinates. More... | |
static Int2 | FromInt3XZ (Int3 o) |
static Int2 | Max (Int2 a, Int2 b) |
static Int2 | Min (Int2 a, Int2 b) |
static bool | operator!= (Int2 a, Int2 b) |
static Int2 | operator+ (Int2 a, Int2 b) |
static Int2 | operator- (Int2 a, Int2 b) |
static bool | operator== (Int2 a, Int2 b) |
static Int3 | ToInt3XZ (Int2 o) |
Public Attributes | |
int | x |
int | y |
Properties | |
long | sqrMagnitudeLong [get] |
Int2 | ( | int | x, |
int | y | ||
) |
override bool Equals | ( | System.Object | o | ) |
bool Equals | ( | Int2 | other | ) |
override int GetHashCode | ( | ) |
override string ToString | ( | ) |
int x |
int y |
|
get |