From 4c6e77a7907616d4ddd37214b60e531e2cc0abba Mon Sep 17 00:00:00 2001
From: Rahman <22raya1mpg@hft-stuttgart.de>
Date: Sat, 8 Jun 2024 12:18:11 +0000
Subject: [PATCH] Update index.html

---
 public/index.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/public/index.html b/public/index.html
index 355cb40..bbc1331 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);
   }
-- 
GitLab