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