From 1c8f15cc46eadc2329aa84b7c7e6bb075c757210 Mon Sep 17 00:00:00 2001 From: Rahman <22raya1mpg@hft-stuttgart.de> Date: Sat, 22 Jun 2024 07:43:24 +0000 Subject: [PATCH] Update index.html --- public/index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 74785eb..36c5b66 100644 --- a/public/index.html +++ b/public/index.html @@ -8,7 +8,6 @@ <!-- three.js --> <script src="https://unpkg.com/three@0.126.0/build/three.js"></script> - <script src="https://unpkg.com/three@0.126.0/examples/js/loaders/GLTFLoader.js"></script> </head> <body> @@ -71,6 +70,7 @@ async function activateXR() { // Replace the URL below with the URL of the new GLTF model you want to use loader.load("https://transfer.hft-stuttgart.de/gitlab/22raya1mpg/argumented-reality/-/raw/master/scene.gltf", function(gltf) { pineCone = gltf.scene; + pineCone.scale.set(0.15, 0.15, 0.15); // Adjust scale as needed }); session.addEventListener("select", (event) => { @@ -121,4 +121,3 @@ async function activateXR() { </script> </body> </html> - -- GitLab