From 11217c463f8accdb3f1d96bae78dce9effcdaa9e Mon Sep 17 00:00:00 2001 From: Thapa <luxthapa6363@gmail.com> Date: Mon, 19 Jun 2023 12:09:19 +0000 Subject: [PATCH] Update index.html --- public/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/index.html b/public/index.html index 40272b6..924e8db 100644 --- a/public/index.html +++ b/public/index.html @@ -25,12 +25,12 @@ async function activateXR() { // The cube will have a different color on each side. const materials = [ - new THREE.MeshNormalMaterial({color: 0xff0000}), - new THREE.MeshNormalMaterial({color: 0x0000ff}), - new THREE.MeshNormalMaterial({color: 0x00ff00}), - new THREE.MeshNormalMaterial({color: 0xff00ff}), - new THREE.MeshNormalMaterial({color: 0x00ffff}), - new THREE.MeshNormalMaterial({color: 0xffff00}) + 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}) ]; // Create the cube and add it to the demo scene. -- GitLab