Explorar o código

updated geometry.ts : new CreateTorusKnot signature call

jbousquie %!s(int64=10) %!d(string=hai) anos
pai
achega
6fe311cf09
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

@@ -761,7 +761,7 @@
             }
 
             public _regenerateVertexData(): VertexData {
-                return VertexData.CreateTorusKnot(this.radius, this.tube, this.radialSegments, this.tubularSegments, this.p, this.q, this.side);
+                return VertexData.CreateTorusKnot({radius: this.radius, tube: this.tube, radialSegments: this.radialSegments, tubularSegments: this.tubularSegments, p: this.p, q: this.q, sideOrientation: this.side});
             }
 
             public copy(id: string): Geometry {