Function triangle_hit

Source
pub fn triangle_hit(
    mesh: &impl TriangleMeshView,
    ray: &Ray3,
    tolerance: Tolerance,
    triangle: usize,
) -> Result<Option<RayHit3>, RayMeshError>
Expand description

Intersect one triangle of mesh, reporting the hit or a certified miss.