Modules§
Structs§
- Point
- Helper struct defining a 2D point in space.
Enums§
Constants§
- DIR4
- The four orthogonal directions, clockwise from North — the neighbours that share an edge with a tile rather than only a corner.
- DIR8
- DIR9
- DIR2_
EDGE_ ONCE - The half of
DIR4_OPPOSITEthat visits every undirected orthogonal edge of a grid exactly once when swept over all tiles. - DIR4_
OPPOSITE - Each orthogonal direction paired with the one that faces back at it, in
DIR4order.