From 33af20ad78773be69fb72c804ac0d72175d7bca3 Mon Sep 17 00:00:00 2001 From: Percen <21pesi1bif@hft-stuttgart.de> Date: Mon, 9 Dec 2024 16:12:21 +0000 Subject: [PATCH] Update public/index.html --- public/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index 5d4bf39..fb7461b 100644 --- a/public/index.html +++ b/public/index.html @@ -126,18 +126,18 @@ reticle.visible = false; 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 flower; - loader.load("./public/assets/models/street_lamp.glb", function(gltf) { + loader.load("/assets/models/street_lamp.glb", function(gltf) { flower = gltf.scene; }); -*/ + session.addEventListener("select", (event) => { -- GitLab