Module broadphase_bvh
Expand description
Zero-Heap Dynamic Broadphase BVH with Fat-AABB Hysteresis (broadphase_bvh.rs).
Implements a deterministic, zero-heap bounding volume hierarchy BroadphaseBvh for up to
MAX_LEAVES 3D colliders:
- Uses fat-AABB margin hysteresis (
fat_margin) so micro-oscillations or small displacements do not trigger redundant tree refits. - Provides zero-heap candidate collection for
overlap_aabb, raycasts, and swept shape casts. - Interoperates with
etalon_render::spatial_math::physics::AabbviaAabb3D::to_spatial_aabbandAabb3D::from_spatial_aabb.
Structsยง
- Aabb3D
- 3D Axis-Aligned Bounding Box (
[min_x, min_y, min_z]..[max_x, max_y, max_z]). - Broadphase
Bvh - Zero-heap dynamic broadphase BVH with fat-AABB hysteresis.
- BvhLeaf
Entry - Leaf entry in
BroadphaseBvh.