Trait rtbvh::Primitive[][src]

pub trait Primitive<AabbType: Debug + Copy + Send + Sync = i32>: Debug + Send + Sync {
    fn center(&self) -> Vec3;
fn aabb(&self) -> Aabb<AabbType>; }

Required methods

fn center(&self) -> Vec3[src]

fn aabb(&self) -> Aabb<AabbType>[src]

Loading content...

Implementors

impl<E: Debug + Copy + Send + Sync> Primitive<E> for Aabb<E>[src]

Loading content...