Function bevy_mod_raycast::ray_triangle_intersection
source · [−]pub fn ray_triangle_intersection(
ray: &Ray3d,
triangle: &impl TriangleTrait,
backface_culling: Backfaces
) -> Option<RayHit>
Expand description
Takes a ray and triangle and computes the intersection and normal