Function parry3d::query::details::local_ray_intersection_with_triangle
source · pub fn local_ray_intersection_with_triangle(
a: &Point<Real>,
b: &Point<Real>,
c: &Point<Real>,
ray: &Ray
) -> Option<(RayIntersection, Vector3<Real>)>
Expand description
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.