Commit 651d869a authored by Esguerra Montana's avatar Esguerra Montana
Browse files

Update index.html

parent 96849178
Pipeline #9415 passed with stage
in 11 seconds
...@@ -24,7 +24,7 @@ async function activateXR() { ...@@ -24,7 +24,7 @@ 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 = THREE.MeshStandardMaterial({ color: 0x238b45, roughness: 0.5, metalness: 0.5 }); const material = new THREE.MeshStandardMaterial({ color: 0x238b45, roughness: 0.5, metalness: 0.5 });
// 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.2,0.2,5,4,1,2), material); const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(0.2,0.2,5,4,1,2), material);
......
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