Commit 3db350d
authored
docs: add hex grid documentation for 2D and 3D (#10)
* docs: add hex grid documentation for 2D and 3D
Comprehensive guides covering:
- Orientation (pointy/flat top) with visual diagrams
- Coordinate systems and offset explanation
- Adjacency and pathfinding patterns
- Elevation and terrain patterns (3D)
- Instanced rendering (3D)
- Complete game examples (strategy maps)
- Full API surface coverage for all hex layout functions
* fix: correct code examples in hex grid documentation
- Fix floorHex arg order (row/layer swapped) in house, plateau, rampX, civMap
- Fix terrainFromHeightmap: add maxHeight param, add missing ignore
- Fix plateau: use correct param names (surface/side not surfaceCell/sideCell)
- Replace non-existent hexRing with border in civMap example
- Add missing System.Numerics import in 3d hex examples
- Add missing System.Collections.Generic import in 2d hex pathfinding example1 parent b67a549 commit 3db350d
4 files changed
Lines changed: 1272 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments