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

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.

Loading content...

Implementors

Loading content...