Constructors
constructor
- new CubeCoordinate(x, y, z): CubeCoordinate
Parameters
- x: number
- y: number
- z: number
Properties
Static
Readonly
Directions
Static
Readonly
RightDown
Accessors
length
- get length(): number
Returns number
Methods
approximatelyEqual
- approximatelyEqual(other, epsilon?): boolean
Returns boolean
distance
- distance(other): number
Returns number
toString
- toString(): string
Returns string
Static
approximatelyEqual
- approximatelyEqual(a, b, epsilon?): boolean
Returns boolean
Static
distance
- distance(a, b): number
Returns number