Expand description
§Hex Ed
Hex grid parsing and navigation uses Axial Coordinates exactly as described in the excellent Red Blob Games blog.
As mentioned in the blog, the Manhattan distance to the center has the formula
(q.abs() + r.abs() + s.abs()) / 2
Functions§
Type Aliases§
- Input 🔒