public void addQuad(int vertexA, int vertexB, int vertexC, int vertexD) { haveQuads = true; addPolygon(new int[] {vertexA, vertexB, vertexC, vertexD}, null); }
public void addTriangle(int vertexA, int vertexB, int vertexC) { addPolygon(new int[] {vertexA, vertexB, vertexC}, null); }