diff --git a/public/index.html b/public/index.html index 5ce5721d0fd764b1196c243fc0c3cdab9908f43c..46251e3bfaa07b9b505a63906b347e8173edbadb 100644 --- a/public/index.html +++ b/public/index.html @@ -27,7 +27,7 @@ async function activateXR() { const material = new THREE.MeshPhysicalMaterial({ color: 0xff0000, roughness: 0.5, metalness: 0.5, clearcoat: 1.0, clearcoatRoughness: 0.1 }); // Create the torus and add it to the demo scene. -const torus = new THREE.Mesh( new THREE.TetrahedronGeometry(1);, material); +const torus = new THREE.Mesh( new THREE.TetrahedronGeometry(1), material); //position the next geometry (sphere) torus.position.set(0, 0, -1); // Add the mesh to the scene