Struct ncollide2df64::partitioning::DBVTLeaf
pub struct DBVTLeaf<B, BV> { bounding_volume: BV, center: V, object: B, parent: LeafState<B, BV>, }
Leaf of a Dynamic Bounding Volume Tree.
Fields
bounding_volume | The bounding volume of this node. |
center | The center of this node bounding volume. |
object | An user-defined object. |
parent | This node parent. |
Methods
impl<B: 'static, BV: Translation<V> + 'static> DBVTLeaf<B, BV>
fn new(bounding_volume: BV, object: B) -> DBVTLeaf<B, BV>
Creates a new leaf.
Trait Implementations
impl<B: Clone, BV: Clone> Clone for DBVTLeaf<B, BV>
Automatically derived.