Explorar el Código

updated geometry.ts : CreateGround new signature call

jbousquie hace 10 años
padre
commit
cb43b46ca8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 {