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