An utility to triangulate indices from a set of vertices

Static methods

@:value({ method : POLY2TRI })statictriangulate(vertices:Array<Float>, indices:Array<Int>, ?holes:Array<Int>, method:TriangulateMethod = POLY2TRI):Void

Triangulate the given vertices and fills the indices array accordingly