diff --git a/public/hitplace.html b/public/hitplace.html index b8be792b0d032c54217a8149a56089f927ee5daf..cebe03f1cc6191f89b140e39f714a0584e454257 100644 --- a/public/hitplace.html +++ b/public/hitplace.html @@ -70,14 +70,14 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re scene.add(reticle); }) -let flower; -loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf", function(gltf) { - flower = gltf.scene; +let duck; +loader.load("https://transfer.hft-stuttgart.de/pages/darynatsymbal16/civ_tsymbal/Duck.glb", function(gltf) { + duck = gltf.scene; }); session.addEventListener("select", (event) => { - if (flower) { - const clone = flower.clone(); + if (duck) { + const clone = duck.clone(); clone.position.copy(reticle.position); scene.add(clone); }