pub fn ray_cast(mesh: &TriMesh, origin: Point3, direction: Vec3) -> Option<Hit>Expand description
First triangle the ray from origin along direction strikes.
Returns None when the ray misses the mesh entirely, or when it meets an
edge or vertex exactly – the degenerate case the exact test refuses to
resolve arbitrarily rather than picking a neighbour at random.