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

Update index.html

parent ec6d1880
Pipeline #9363 passed with stage
in 8 seconds
...@@ -27,9 +27,9 @@ async function activateXR() { ...@@ -27,9 +27,9 @@ async function activateXR() {
const material = new THREE.MeshLambertMaterial({ color: 0xce1256 }); const material = new THREE.MeshLambertMaterial({ color: 0xce1256 });
// 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(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) //position the next geometry (sphere)
torus.position.x = -2; torus.position.set(0, 0, -1);
// Add the mesh to the scene // Add the mesh to the scene
scene.add( torus ); scene.add( torus );
......
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