Skip to main content

Module alignment

Module alignment 

Source
Expand description

Dihedral group D6 transforms for hexagonal grids in axial coordinates.

The 12 symmetries of a regular hexagon: 6 rotations and 6 reflections. All transforms are expressed as 2x2 integer matrices acting on axial (q, r).

Reuses GridTransform — same struct, different values.

Constants§

GRID_TRANSFORMS_D6
The 12 dihedral transforms D6 on the hexagonal integer grid (axial coordinates).