From 822d6e6e1720903b71bc99d484d75158fcd147ba Mon Sep 17 00:00:00 2001 From: Yaemyim <22yasa1mpg@hft-stuttgart.de> Date: Tue, 20 Jun 2023 20:15:25 +0000 Subject: [PATCH] Update 1-Cube.html --- public/1-Cube.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/1-Cube.html b/public/1-Cube.html index ff4506f..6438381 100644 --- a/public/1-Cube.html +++ b/public/1-Cube.html @@ -25,12 +25,12 @@ async function activateXR() { // The cube will have a different color on each side. const materials = [ - new THREE.MeshBasicMaterial({color: 0xFFC0CB}), // 0xff0000 - new THREE.MeshBasicMaterial({color: 0x61F18D}), // 0x0000ff - new THREE.MeshBasicMaterial({color: 0xF1A061}), // 0x00ff00 - new THREE.MeshBasicMaterial({color: 0x61F1E6}), // 0xff00ff - new THREE.MeshBasicMaterial({color: 0xF161AD}), // 0x00ffff - new THREE.MeshBasicMaterial({color: 0x6175F1}) // 0xffff00 + new THREE.MeshBasicMaterial({color: "#FFC0CB"}), // 0xff0000 + new THREE.MeshBasicMaterial({color: "#61F18D"}), // 0x0000ff + new THREE.MeshBasicMaterial({color: "#F1A061"}), // 0x00ff00 + new THREE.MeshBasicMaterial({color: "#61F1E6"}), // 0xff00ff + new THREE.MeshBasicMaterial({color: "#F161AD"}), // 0x00ffff + new THREE.MeshBasicMaterial({color: "#6175F1"}) // 0xffff00 ]; // Create the cube and add it to the demo scene. -- GitLab