[][src]Trait ncollide_geometry::partitioning::BVTTVisitor

pub trait BVTTVisitor<B, BV> {
    fn visit_internal_internal(&mut self, _: &BV, _: &BV) -> bool;
fn visit_leaf_leaf(&mut self, _: &B, _: &BV, _: &B, _: &BV);
fn visit_internal_leaf(&mut self, _: &BV, _: &B, _: &BV) -> bool;
fn visit_leaf_internal(&mut self, _: &B, _: &BV, _: &BV) -> bool; }

Visitor for the Bounding Volume Traversal Tree.

Required methods

fn visit_internal_internal(&mut self, _: &BV, _: &BV) -> bool

Visit two internal nodes.

fn visit_leaf_leaf(&mut self, _: &B, _: &BV, _: &B, _: &BV)

Visit two leaves.

fn visit_internal_leaf(&mut self, _: &BV, _: &B, _: &BV) -> bool

Visit one internal node and one leaf.

fn visit_leaf_internal(&mut self, _: &B, _: &BV, _: &BV) -> bool

Visit one leaf and on internal node.

Loading content...

Implementors

Loading content...