瀏覽代碼

updated Mesh.CreateTiledGround to new VertexData.CreateTiledGround signature

jbousquie 10 年之前
父節點
當前提交
38851438f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);