triangulate2d_rev

Function triangulate2d_rev 

Source
pub fn triangulate2d_rev(vertices: &Pt2s) -> Indices
Expand description

Triangulate a 2D polygon with vertices in CCW order.

vertices: The vertices of the polygon.

return: An array of indices into the given vertex array.