Przeglądaj źródła

updated Mesh.CreateTiledGround to new VertexData.CreateTiledGround signature

jbousquie 10 lat temu
rodzic
commit
38851438f2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Mesh/babylon.mesh.ts

+ 1 - 1
src/Mesh/babylon.mesh.ts

@@ -1893,7 +1893,7 @@
             }
             var tiledGround = new Mesh(name, scene);
 
-            var vertexData = VertexData.CreateTiledGround(xmin, zmin, xmax, zmax, subdivisions, precision);
+            var vertexData = VertexData.CreateTiledGround({xmin: xmin, zmin: zmin, xmax: xmax, zmax: zmax, subdivisions: subdivisions, precision: precision});
 
             vertexData.applyToMesh(tiledGround, updatable);