From 7a194b226fca2156d83f6242d2577401792b77a7 Mon Sep 17 00:00:00 2001 From: Yaemyim <22yasa1mpg@hft-stuttgart.de> Date: Wed, 21 Jun 2023 09:52:56 +0000 Subject: [PATCH] Update 2-Hit.html --- public/2-Hit.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/2-Hit.html b/public/2-Hit.html index d577746..3b9a6f9 100644 --- a/public/2-Hit.html +++ b/public/2-Hit.html @@ -71,7 +71,7 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re }) let flower; -loader.load("https://transfer.hft-stuttgart.de/gitlab/22yasa1mpg/webarsr/-/raw/master/3d/magaphone.gltf", function(gltf) { +loader.load("https://transfer.hft-stuttgart.de/gitlab/22yasa1mpg/webarsr/-/raw/master/3d/bmw.gltf", function(gltf) { flower = gltf.scene; }); @@ -80,8 +80,8 @@ session.addEventListener("select", (event) => { const clone = flower.clone(); clone.position.copy(reticle.position); // Set the desired scale for the icon. - // const iconScale = 0.005; // Adjust the scale value as needed - // clone.scale.set(iconScale, iconScale, iconScale); + const iconScale = 0.005; // Adjust the scale value as needed + clone.scale.set(iconScale, iconScale, iconScale); scene.add(clone); } }); -- GitLab