Commit f8740e25 authored by Azizi's avatar Azizi
Browse files

Update 1-Cube.html

parent 971cbee3
Pipeline #8319 passed with stage
in 4 seconds
...@@ -25,12 +25,12 @@ async function activateXR() { ...@@ -25,12 +25,12 @@ async function activateXR() {
// The cube will have a different color on each side. // The cube will have a different color on each side.
const materials = [ const materials = [
new THREE.MeshBasicMaterial({color: #ff0000}), new THREE.MeshBasicMaterial({color: #00ff00}),
new THREE.MeshBasicMaterial({color: #ffbf00}), new THREE.MeshBasicMaterial({color: #0000ff}),
new THREE.MeshBasicMaterial({color: #ffff00 }), new THREE.MeshBasicMaterial({color: #FFE565}),
new THREE.MeshBasicMaterial({color: #00ff00 }), new THREE.MeshBasicMaterial({color: #665500}),
new THREE.MeshBasicMaterial({color: #0040ff}), new THREE.MeshBasicMaterial({color: #65e5ff}),
new THREE.MeshBasicMaterial({color: #ff0000}) new THREE.MeshBasicMaterial({color: #DCFECC})
]; ];
// Create the cube and add it to the demo scene. // Create the cube and add it to the demo scene.
......
Supports Markdown
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