Broadphase spatial acceleration structures for rustsim.
Provides efficient neighbour queries for dense populations of agents. Currently implemented:
- [
UniformGrid2] — hash-grid over 2-D space. - [
UniformGrid3] — hash-grid over 3-D space.
Both structures use a single scalar cell size. Choose a cell size close to the expected query radius for best pruning.