Trait kdtree_ray::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§