Skip to content

orientationPerm

orientationPerm(flags): Perm

Defined in: tilemap/tileBits.ts:75

The atlas-corner permutation a cell’s flags produce. Flags apply D first, then V, then H — the order that makes (H,V,D) bijective onto the 8 D4 orientations and matches Tiled.

TileFlags

Perm