Skip to content

computeBoardBounds

computeBoardBounds(tiles): BoardBounds

Defined in: packages/declarative-hex-worlds/src/camera/camera.ts:91

Compute the world-space bounds of a board from its tiles (their world positions at their elevation). An empty board yields a unit box centered at the origin so a binding never divides by zero.

readonly GameboardTileSpec[]

BoardBounds