Skip to content

Coordinates

Chad edited this page Sep 11, 2019 · 1 revision

Coordinate Systems

Chickenwire supports the four coordinate systems detailed in RedBlobGames' Hexagonal Grids Guide, as well as its own MultiCoord type. Details about the math behind the coordinate systems will be left to the guide and Chickenwire's API documentation. This page will only cover what you need to know to actually use these coordinate systems.

Coordinate::Axial

Coordinate::Double

Coordinate::Cube

Coordinate::Offset

Coordinate::MultiCoord

Clone this wiki locally