Trait rs_math3d::queries::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: FloatScalar> Intersection<(T, Vector3<T>), Tri3<T>> for Ray<T, Vector3<T>>

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