2D broadphase spatial index over object AABBs — candidate-pair, region, point, and ray queries behind a swappable index seam (uniform-grid default), feeding @flighthq/collision narrow-phase
2D broadphase spatial index over object AABBs — candidate-pair, region, point, and ray queries behind a swappable index seam (uniform-grid default), feeding @flighthq/collision narrow-phase
Install
npm install @flighthq/spatial
Import the supported application-facing API from @flighthq/spatial. The @flighthq/spatial/contract export is the wider package-to-package contract used to compose Flight itself.
This package is part of the locked-version Flight SDK graph. Applications may instead install and import @flighthq/sdk when package-level tree shaking is sufficient.
2D broadphase spatial index over object AABBs — candidate-pair, region, point, and ray queries behind a swappable index seam (uniform-grid default), feeding @flighthq/collision narrow-phase