Trait bvh::bounding_hierarchy::BHShape
source · pub trait BHShape<T: BHValue, const D: usize>: Bounded<T, D> {
// Required methods
fn set_bh_node_index(&mut self, _: usize);
fn bh_node_index(&self) -> usize;
}
Expand description
Describes a shape as referenced by a BoundingHierarchy
leaf node.
Knows the index of the node in the BoundingHierarchy
it is in.
Required Methods§
sourcefn set_bh_node_index(&mut self, _: usize)
fn set_bh_node_index(&mut self, _: usize)
Sets the index of the referenced BoundingHierarchy
node.
sourcefn bh_node_index(&self) -> usize
fn bh_node_index(&self) -> usize
Gets the index of the referenced BoundingHierarchy
node.