Explorar o código

updated signature of call to CreateCylinder in geometry.ts

jbousquie %!s(int64=10) %!d(string=hai) anos
pai
achega
f514b2cb75
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Mesh/babylon.geometry.ts

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

@@ -632,7 +632,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateCylinder(this.height, this.diameterTop, this.diameterBottom, this.tessellation, this.subdivisions, this.side);
+                return VertexData.CreateCylinder({height: this.height, diameterTop: this.diameterTop, diameterBottom: this.diameterBottom, tessellation: this.tessellation, subdivisions: this.subdivisions, sideOrientation: this.side});
             }
 
             public copy(id: string): Geometry {