Trait Intersection

Source
pub trait Intersection<T, Other> {
    // Required method
    fn intersection(&self, other: &Other) -> Option<T>;
}

Required Methods§

Source

fn intersection(&self, other: &Other) -> Option<T>

Implementors§

Source§

impl<T> Intersection<(T, Vector3<T>), Tri3<T>> for Ray<T, Vector3<T>>
where T: FloatScalar,

Ray-Triangle Intersection Test Routines Different optimizations of my and Ben Trumbore’s code from journals of graphics tools (JGT) http://www.acm.org/jgt/ by Tomas Moller, May 2000