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