Commit 78cf4eb1 authored by Azizi's avatar Azizi
Browse files

Update 1-Cube.html

parent a157eea8
Pipeline #8328 passed with stage
in 5 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: 0xff0000}), new THREE.MeshBasicMaterial({color: 0xffff00}),
new THREE.MeshBasicMaterial({color: 0xff00ff}),
new THREE.MeshBasicMaterial({color: 0x0000ff}), new THREE.MeshBasicMaterial({color: 0x0000ff}),
new THREE.MeshBasicMaterial({color: 0x00ff00}),
new THREE.MeshBasicMaterial({color: 0xff00ff}), new THREE.MeshBasicMaterial({color: 0xff00ff}),
new THREE.MeshBasicMaterial({color: 0x00ffff}), new THREE.MeshBasicMaterial({color: 0x0000ff}),
new THREE.MeshBasicMaterial({color: 0xffff00}) new THREE.MeshBasicMaterial({color: 0xff0000})
]; ];
// 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