Reverses the winding order of the polygon, writing the result into out. out may be the same array as vertices to reverse in place.
out
vertices
the array to write the reversed polygon into
polygon vertices as a flat array [x0, y0, x1, y1, ...]
[x0, y0, x1, y1, ...]
number of vertices to read from vertices
Reverses the winding order of the polygon, writing the result into
out.outmay be the same array asverticesto reverse in place.