Checks if this axis tiles horizontally.
Checks if this axis tiles vertically.
Selects the appropriate x, y, or z coordinate, depending on what the axis is, and returns it.