Skip to main content

query_compound

Function query_compound 

Source
pub fn query_compound(
    compound: &CompoundData,
    aabb: Aabb,
    fcn: impl FnMut(&CompoundData, i32) -> bool,
)
Expand description

Query an AABB against compound children. (b3QueryCompound)

The callback receives (compound, child_index) and returns false to stop.