diff --git a/public/index.html b/public/index.html index cf25a67df568202f7383e6d9f6ab7414b9e883d8..6199511907d496baf33ff531e4324258cefa0bd0 100644 --- a/public/index.html +++ b/public/index.html @@ -27,9 +27,9 @@ async function activateXR() { const material = new THREE.MeshLambertMaterial({ color: 0xce1256 }); // Create the torus and add it to the demo scene. -const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(0.3, 0.2, 80, 8, 2, 2), material); +const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(0.3, 0.2, 80, 8), material); //position the next geometry (sphere) -torus.position.x = -2; +torus.position.set(0, 0, -1); // Add the mesh to the scene scene.add( torus );