Trait bvh::bounding_hierarchy::BHShape[][src]

pub trait BHShape: Bounded {
    fn set_bh_node_index(&mut self, _: usize);
fn bh_node_index(&self) -> usize; }

Describes a shape as referenced by a BoundingHierarchy leaf node. Knows the index of the node in the BoundingHierarchy it is in.

Required Methods

Sets the index of the referenced BoundingHierarchy node.

Gets the index of the referenced BoundingHierarchy node.

Implementors