diff --git a/public/index.html b/public/index.html index 21441dd9be0f4e65009bd0f6087169b526a10487..fd67673bfa1a0836cfc9e70f331e700f2fc4857e 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); }