diff --git a/public/index.html b/public/index.html index 6f111bcd8f0b645657c5228f4a672aae240c8a6e..7a21471c5dab52540919d10de1373efaab49974c 100644 --- a/public/index.html +++ b/public/index.html @@ -74,9 +74,6 @@
- - -Mit Augmented Reality können Sie ihrer Fantasie freien Lauf lassen und ihre Stadt interaktiv gestalten!
@@ -126,20 +123,12 @@ 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("https://threejs.org/examples/models/gltf/RobotExpressive/RobotExpressive.glb", function(gltf) { - flower = gltf.scene; - }); - - - session.addEventListener("select", (event) => { if (flower) { const clone = flower.clone();