Trait ncollide2d::partitioning::BVTVisitor
source · pub trait BVTVisitor<B, BV> {
fn visit_internal(&mut self, _: &BV) -> bool;
fn visit_leaf(&mut self, _: &B, _: &BV);
}
Expand description
Visitor of Bounding Volume Trees.
Required Methods§
sourcefn visit_internal(&mut self, _: &BV) -> bool
fn visit_internal(&mut self, _: &BV) -> bool
Visits an internal node. Returns true
if the internal node children have to be visited
too.
sourcefn visit_leaf(&mut self, _: &B, _: &BV)
fn visit_leaf(&mut self, _: &B, _: &BV)
Visits a leaf.