Expand description
Spatial hashing, loose octree, k-nearest neighbours, ray grid traversal, and spatial statistics.
Structs§
- GpuSpatial
Hash Layout - A spatial hash with an interleaved, flat-array layout for GPU upload.
- Loose
Octree - A loose octree node that stores items at every level.
- Parallel
Spatial Hash - A parallel-build spatial hash.
- Persistent
Spatial Hash - A spatial hash that persists across frames.
- RayGrid
Step - Result of a ray traversal step through the grid.
- Spatial
Hash3D - A uniform-grid spatial hash that maps 3-D positions to arbitrary data.
- Spatial
Hash Pos3D - A uniform-grid spatial hash with position storage for exact radius queries.
- Spatial
Hash Stats - Statistics about a spatial hash’s distribution.
Functions§
- merge_
spatial_ hashes - Merge two
SpatialHashPos3Dinstances (same cell size) into a new one. - ray_
traverse_ grid - Traverse a ray through a uniform grid using 3D DDA (Amanatides-Woo).