drawColoredTriangles

public void drawColoredTriangles(int colour, Array<float> coordinates)(source)

Renders a list of triangles.

Parameters

colour

the color to render the triangles in

coordinates

The coordinates of the triangles, encoded as 3 vertices consisting of 6 floats arranged as [x0, y0, x1, y1, x2, y2]