Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Axial ¶
Axial coordinate with implied z, under x+y+z=0
func (Axial) GetNeighbors ¶
GetNeighbors returns the six neigboring coordinates
func (Axial) LinearInterpolation ¶
LinearInterpolation returns the hexagons (inclusive) between two hexagons
type Cube ¶
Cube coordinate with constraint x+y+z = 0
func (Cube) GetNeighbors ¶
GetNeighbors returns the six neighboring cube coordinates
func (Cube) LinearInterpolation ¶
LinearInterpolation returns the hexatons (inclusive) between two hexagons
Click to show internal directories.
Click to hide internal directories.