Function intersection_ray_triangle

Source
pub fn intersection_ray_triangle<P>(
    ray: &Ray3D,
    v1: &P,
    v2: &P,
    v3: &P,
) -> Option<P>
where P: IsBuildable3D + Sub<Output = P> + Clone,
Expand description

Finds the intersection between a ray and triangle