diff --git a/public/index.html b/public/index.html index 120d5714c2388ad5c962a7c1658ae384362ba4cb..b1024620fc3ae6ec776e26d9a6647e1a1802f09c 100644 --- a/public/index.html +++ b/public/index.html @@ -27,7 +27,7 @@ async function activateXR() { const material = new THREE.MeshToonMaterial({ color: 0xc994c7 }); // Create the torus and add it to the demo scene. -const torus = new THREE.Mesh( new THREE.PolyhedronBufferGeometry(6, 2, 3), material); +const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(1,0.4,64,8,2,3), material); //position the next geometry (sphere) torus.position.set(0, 0, -1); // Add the mesh to the scene