Skip to main content

AabbHint

Type Alias AabbHint 

Source
pub type AabbHint<'a> = &'a dyn Fn(&DynamicObject) -> Option<(DVec3, DVec3)>;
Expand description

Callback supplying a conservative local-space AABB for a subtree this module cannot evaluate analytically (sketch/extrude/revolve/offset based). Returning None drops the subtree from the model (it stops occluding).