A position in cube (axial) coordinates. The third axis s = -q - r is derived and not stored. All hex math functions operate on this type.
s = -q - r
Convert to/from offset grid coordinates with offsetToHex / hexToOffset.
Readonly
A position in cube (axial) coordinates. The third axis
s = -q - ris derived and not stored. All hex math functions operate on this type.Convert to/from offset grid coordinates with offsetToHex / hexToOffset.