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
fn set_bh_node_index(&mut self, _: usize)
Sets the index of the referenced BoundingHierarchy
node.
fn bh_node_index(&self) -> usize
Gets the index of the referenced BoundingHierarchy
node.