Bounded

Trait Bounded 

Source
pub trait Bounded {
    // Required method
    fn bound(&self) -> AABB;
}
Expand description

Your shapes needs to implement Bounded trait to build a KD-tree around it.

Required Methods§

Source

fn bound(&self) -> AABB

This function return the Axis-aligned bounding boxes (AABB) of the object.

For more information check AABB.

Implementors§