浏览代码

updated geometry.ts : CreateGround new signature call

jbousquie 10 年之前
父节点
当前提交
cb43b46ca8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Mesh/babylon.geometry.ts

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

@@ -680,7 +680,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateGround(this.width, this.height, this.subdivisions);
+                return VertexData.CreateGround({width: this.width, height: this.height, subdivisions: this.subdivisions});
             }
 
             public copy(id: string): Geometry {