diff --git a/public/index.html b/public/index.html index 355cb40c93c7feac7163c4eede0c9a7aa5c773b5..bbc1331b4f2c999f9790b3eaa47ac425d6b30d31 100644 --- a/public/index.html +++ b/public/index.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://transfer.hft-stuttgart.de/gitlab/22raya1mpg/argumented-reality/-/blob/master/hopper/scene.gltf", function(gltf) { - flower = gltf.scene; +let scene; +loader.load("https://transfer.hft-stuttgart.de/gitlab/22raya1mpg/argumented-reality/-/blob/master/bee/scene.gltf", function(gltf) { + scene = gltf.scene; }); session.addEventListener("select", (event) => { - if (flower) { - const clone = flower.clone(); + if (scene) { + const clone = scene.clone(); clone.position.copy(reticle.position); scene.add(clone); }