From 3e718b268dfc789fbb0bcdd379f2e1e089fc636f Mon Sep 17 00:00:00 2001 From: Esguerra Montana <32esla1mpg@hft-stuttgart.de> Date: Sun, 16 Jun 2024 17:15:01 +0000 Subject: [PATCH] Update index.html --- public/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/index.html b/public/index.html index d252b52..dbb3476 100644 --- a/public/index.html +++ b/public/index.html @@ -51,6 +51,9 @@ async function activateXR() { // Create the torus mesh const torusMesh = new THREE.Mesh(torusGeometry, goldMaterial); + // Scale the torus mesh to make it smaller + torusMesh.scale.set(0.5, 0.5, 0.5); + // Add the torus mesh to the scene scene.add(torusMesh); -- GitLab