Commit 89e76e92 authored by Esguerra Montana's avatar Esguerra Montana
Browse files

Update index.html

parent ed60ee52
Pipeline #9364 passed with stage
in 6 seconds
...@@ -24,10 +24,10 @@ async function activateXR() { ...@@ -24,10 +24,10 @@ async function activateXR() {
const scene = new THREE.Scene(); const scene = new THREE.Scene();
// Color of the torus geometry. // Color of the torus geometry.
const material = new THREE.MeshLambertMaterial({ color: 0xce1256 }); const material = new THREE.MeshLambertMaterial({ color: 0xBF0DEF });
// 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), material); const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(0.3, 0.2, 64, 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