Skip to main content

Module aabb

Module aabb 

Source
Expand description

Axis-aligned bounding box for an artefact, and the rigid+scale transform of its extent.

Zero-alloc: every operation works over fixed [f32; 3] arrays and an 8-corner loop — no Vec, no heap, suitable for the hot path. Rotation/translation come from the PGA motor oracle (render::pga), the same map the GPU projector uses, so artefact physics and rendering agree.

Structs§

Aabb
An axis-aligned bounding box (model or world space).