Explorar el Código

updates geometry.ts : new CreateBox call signature

jbousquie hace 10 años
padre
commit
b9cc527183
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

@@ -580,7 +580,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateBox(this.size, this.side);
+                return VertexData.CreateBox({size: this.size, sideOrientation: this.side});
             }
 
             public copy(id: string): Geometry {