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