util-math / io.github.sof3.graphmine.util.math / Side
class Side
Represents one of the 6 directions in a 3D space.
id | val id: Int the ID of the direction |
intVector | val intVector: IntVector3 Expresses the side as an IntVector3 |
vector | val vector: Vector3 Expresses the side as a Vector3 |
ALL | val ALL: List < Side > A list of all sides |
DOWN | val DOWN: Side The DOWN side |
EAST | val EAST: Side The EAST side |
NORTH | val NORTH: Side The NORTH side |
SOUTH | val SOUTH: Side The SOUTH side |
UP | val UP: Side The UP side |
WEST | val WEST: Side The WEST side |
get | operator fun get(id: Int ): Side Access a side by ID |