Skip to main content

order_quad_corners

Function order_quad_corners 

Source
pub fn order_quad_corners(quad: &mut LinkedQuad)
Expand description

Reorder a quad’s corners into a consistent rotational order (by angle about the centroid), permuting the neighbors links the same way so each neighbors[i] still refers to corners[i].