From 4f5f80d420dec58f7a96f8d292f5e546bf0c8691 Mon Sep 17 00:00:00 2001 From: Esguerra Montana <32esla1mpg@hft-stuttgart.de> Date: Sun, 16 Jun 2024 16:31:19 +0000 Subject: [PATCH] Update index.html --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 8b30762..c9b062e 100644 --- a/public/index.html +++ b/public/index.html @@ -32,10 +32,10 @@ async function activateXR() { scene.add(ambientLight); // Color of the tetrahedron geometry. - const material = new THREE.MeshPhysicalMaterial({ color: 0xff0000, roughness: 0.5, metalness: 0.5, clearcoat: 1.0, clearcoatRoughness: 0.1 }); + const material = new THREE.MeshPhysicalMaterial({ color: 0xC70039, roughness: 0.5, metalness: 0.5, clearcoat: 1.0, clearcoatRoughness: 0.1 }); // Create the tetrahedron and add it to the demo scene. - const tetrahedron = new THREE.Mesh(new THREE.TetrahedronGeometry(1), material); + const tetrahedron = new THREE.Mesh(new THREE.TetrahedronGeometry(0.7), material); // Position the tetrahedron tetrahedron.position.set(0, 0, -1); -- GitLab