Trait bismuth::cube::Spatial
[−]
[src]
pub trait Spatial { fn partition(&self) -> &Partition; fn depth(&self) -> u8; fn aabb(&self) -> AABB { ... } }
A spatial (cubic) element in a tree.
Required Methods
fn partition(&self) -> &Partition
Gets the Partition
of the Spatial
.
fn depth(&self) -> u8
Gets the depth of the Spatial
in the tree.
Provided Methods
Implementors
impl Spatial for Root