Commit d595e1fc authored by Esguerra Montana's avatar Esguerra Montana
Browse files

Update index.html

parent 186fa98b
Pipeline #9410 passed with stage
in 5 seconds
...@@ -27,7 +27,7 @@ async function activateXR() { ...@@ -27,7 +27,7 @@ async function activateXR() {
const material = new THREE.MeshToonMaterial({ color: 0xc994c7 }); const material = new THREE.MeshToonMaterial({ color: 0xc994c7 });
// Create the torus and add it to the demo scene. // Create the torus and add it to the demo scene.
const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(10,3,100,16,2,3), material); const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(1,3,32,8,2,3), material);
//position the next geometry (sphere) //position the next geometry (sphere)
torus.position.set(0, 0, -1); torus.position.set(0, 0, -1);
// Add the mesh to the scene // Add the mesh to the scene
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment