From 579b9815e271fad6ae1eccf0c082569ff3aa3bcb Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Sun, 28 Feb 2021 21:44:06 +0100 Subject: [PATCH] fix TorusKnot typo --- src/meshes/TorusKnot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meshes/TorusKnot.js b/src/meshes/TorusKnot.js index fa4d179..b85f371 100644 --- a/src/meshes/TorusKnot.js +++ b/src/meshes/TorusKnot.js @@ -7,8 +7,8 @@ export default { props: { radius: { type: Number, default: 0.5 }, tube: { type: Number, default: 0.4 }, - radialSegments: { type: Number, default: 64 }, tubularSegments: { type: Number, default: 8 }, + radialSegments: { type: Number, default: 64 }, p: { type: Number, default: 2 }, q: { type: Number, default: 3 }, }, @@ -24,7 +24,7 @@ export default { }, methods: { createGeometry() { - this.geometry = new TorusKnotBufferGeometry(this.radius, this.tube, this.radialSegments, this.tubularSegments, this.p, this.q); + this.geometry = new TorusKnotBufferGeometry(this.radius, this.tube, this.tubularSegments, this.radialSegments, this.p, this.q); }, }, __hmrId: 'TorusKnot',