浏览代码

updated geometry.ts : CreateTorus new signature call

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

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

@@ -657,7 +657,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateTorus(this.diameter, this.thickness, this.tessellation, this.side);
+                return VertexData.CreateTorus({diameter: this.diameter, thickness: this.thickness, tessellation: this.tessellation, sideOrientation: this.side});
             }
 
             public copy(id: string): Geometry {