Commit 1e6b1a51 authored by Rushdi's avatar Rushdi
Browse files

Update 1-Cube.html

parent 6f142149
Pipeline #8025 passed with stage
in 5 seconds
......@@ -25,12 +25,13 @@ async function activateXR() {
// The cube will have a different color on each side.
const materials = [
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})
new THREE.MeshBasicMaterial({color: 0xa40808}),
new THREE.MeshBasicMaterial({color: 0xb6d7a8}),
new THREE.MeshBasicMaterial({color: 0xa40808}),
new THREE.MeshBasicMaterial({color: 0xffe599}),
new THREE.MeshBasicMaterial({color: 0xd5a6bd}),
new THREE.MeshBasicMaterial({color: 0xcfe2f3})
];
// 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