Triangulate the polygon defined by vertices.
vertices
Unique vertices
Optional, indices into vertices to mark which sections are islands
Indices into vertices defining all triangles
Triangulate the polygon defined by
vertices
.