pub fn nearest_hit(
mesh: &impl TriangleMeshView,
ray: &Ray3,
tolerance: Tolerance,
) -> Result<Option<RayHit3>, RayMeshError>Expand description
Nearest hit over every triangle of mesh.
Prefer nearest_hit_among when a broad phase has already rejected most
triangles; this scans all of them.