From 651d869ac1eb65d99b6f376a0c0945b78f1cd82e Mon Sep 17 00:00:00 2001
From: Esguerra Montana <32esla1mpg@hft-stuttgart.de>
Date: Sun, 16 Jun 2024 16:01:24 +0000
Subject: [PATCH] Update index.html

---
 public/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/index.html b/public/index.html
index cd02e66..dac3a32 100644
--- a/public/index.html
+++ b/public/index.html
@@ -24,7 +24,7 @@ async function activateXR() {
   const scene = new THREE.Scene();
 
 // Color of the torus geometry.
-const material = THREE.MeshStandardMaterial({ color: 0x238b45, roughness: 0.5, metalness: 0.5 });
+const material = new THREE.MeshStandardMaterial({ color: 0x238b45, roughness: 0.5, metalness: 0.5 });
 
 // Create the torus and add it to the demo scene.
 const torus = new THREE.Mesh( new THREE.TorusKnotGeometry(0.2,0.2,5,4,1,2), material);
-- 
GitLab