Esempio n. 1
0
 public void addQuad(int vertexA, int vertexB, int vertexC, int vertexD) {
   haveQuads = true;
   addPolygon(new int[] {vertexA, vertexB, vertexC, vertexD}, null);
 }
Esempio n. 2
0
 public void addTriangle(int vertexA, int vertexB, int vertexC) {
   addPolygon(new int[] {vertexA, vertexB, vertexC}, null);
 }