Skip to content

HexOrientation

type HexOrientation = "pointy" | "flat";

Defined in: types.ts:26

Which way up the hexagons sit: "pointy" has a vertex at the top, "flat" an edge. The two are the same lattice turned by 30°, so switching rotates the grid and leaves the cell ordering unchanged.