Function heron::rapier_plugin::rapier::ncollide::query::ray_intersection_with_triangle [−][src]
pub fn ray_intersection_with_triangle<N>(
a: &Point<N, U3>,
b: &Point<N, U3>,
c: &Point<N, U3>,
ray: &Ray<N>
) -> Option<(RayIntersection<N>, Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>)> where
N: RealField,
Computes the intersection between a triangle and a ray.
If an intersection is found, the time of impact, the normal and the barycentric coordinates of the intersection point are returned.