Commit 6a9a3f52 authored by Azizi's avatar Azizi
Browse files

Update 1-Cube.html

parent 41b4033a
Pipeline #8324 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: 0xff00ff}), new THREE.MeshBasicMaterial({color: 0xff0000}),
new THREE.MeshBasicMaterial({color: 0x0f00ff}), new THREE.MeshBasicMaterial({color: 0x0000ff}),
new THREE.MeshBasicMaterial({color: 0x00ff00}),
new THREE.MeshBasicMaterial({color: 0xff0f00}),
new THREE.MeshBasicMaterial({color: 0x00ff00}), new THREE.MeshBasicMaterial({color: 0x00ff00}),
new THREE.MeshBasicMaterial({color: 0xff0000}) new THREE.MeshBasicMaterial({color: 0xff00ff}),
new THREE.MeshBasicMaterial({color: 0x00ffff}),
new THREE.MeshBasicMaterial({color: 0xffff00})
]; ];
// 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