Exemplo n.º 1
0
 public static MeshSurface newSlab(
     P3[] vertices,
     int vertexCount,
     float[] vertexValues,
     int[][] polygonIndexes,
     int polygonCount,
     int checkCount) {
   // from DRAW only
   MeshSurface ms = new MeshSurface();
   ms.vertices = vertices;
   ms.vertexValues = vertexValues;
   ms.vertexCount = vertexCount;
   ms.polygonIndexes = polygonIndexes;
   ms.polygonCount = polygonCount;
   ms.checkCount = checkCount; // will be 1
   return ms;
 }