Commit 9f2b8acd authored by Thapa's avatar Thapa
Browse files

Update index.html

parent 5a5d4887
Pipeline #7877 passed with stage
in 5 seconds
...@@ -23,9 +23,14 @@ async function activateXR() { ...@@ -23,9 +23,14 @@ async function activateXR() {
const scene = new THREE.Scene(); const scene = new THREE.Scene();
// The sphere will have a different color on each side. // The cube will have a different color on each side.
const materials = [ const materials = [
new THREE.MeshPhongMaterial({color: #9ecae1}) new THREE.MeshBasicMaterial({color: 0xff0000}),
new THREE.MeshBasicMaterial({color: 0x0000ff}),
new THREE.MeshBasicMaterial({color: 0x00ff00}),
new THREE.MeshBasicMaterial({color: 0xff00ff}),
new THREE.MeshBasicMaterial({color: 0x00ffff}),
new THREE.MeshBasicMaterial({color: 0xffff00})
]; ];
// Create the sphere and add it to the demo scene. // Create the sphere and add it to the demo 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