소스 검색

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 {