From ecffcc91f6eb4f152a920f943550508a16ee45ea Mon Sep 17 00:00:00 2001
From: Rahman <22raya1mpg@hft-stuttgart.de>
Date: Sat, 8 Jun 2024 10:31:08 +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 b8be792..21441dd 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://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf", function(gltf) {
-  flower = gltf.scene;
+let rabbit;
+loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/rabbit/scene.gltf", function(gltf) {
+  rabbit = gltf.scene;
 });
 
 session.addEventListener("select", (event) => {
-  if (flower) {
-    const clone = flower.clone();
+  if (rabbit) {
+    const clone = rabbit.clone();
     clone.position.copy(reticle.position);
     scene.add(clone);
   }
-- 
GitLab