Skip to main content

sort_geometry

Function sort_geometry 

Source
pub fn sort_geometry(mesh: &mut ManifoldImpl)
Expand description

Sorts vertices and faces by Morton code, removes flagged-for-deletion elements, and compacts property arrays. Should be called after create_halfedges() to finalize the mesh topology.

Note: Collider construction is done in Phase 10.