orient_mesh_outward

Function orient_mesh_outward 

Source
pub fn orient_mesh_outward(mesh: &mut Mesh) -> bool
Expand description

Orient every connected component of mesh consistently and outward, in place. Returns true iff any triangle’s winding was flipped (the caller must then recompute normals — the existing ones were baked with the old winding).

Thin wrapper over orient_mesh_outward_verdict, kept because most callers only ever needed the “did you touch my normals” bit.