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

Gets the Partition of the Spatial.

Gets the depth of the Spatial in the tree.

Provided Methods

Gets the AABB of the Spatial.

Implementors