diff --git a/public/index.html b/public/index.html index 74785eb646dcda1d71b7815c742f8accb6c5b6b7..36c5b66c668cbecea609d87bade055cd8537712a 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> -