From b864be149dfd7526626d66f527713e8c28ffa7e2 Mon Sep 17 00:00:00 2001 From: Percen <21pesi1bif@hft-stuttgart.de> Date: Mon, 9 Dec 2024 17:23:15 +0000 Subject: [PATCH] Update public/index.html --- public/index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index fb7461b..90a7fa5 100644 --- a/public/index.html +++ b/public/index.html @@ -132,12 +132,17 @@ flower = gltf.scene; }); */ - + let flower; + loader.load("https://github.com/KhronosGroup/glTF-Sample-Models/blob/main/2.0/ToyCar/glTF/ToyCar.gltf +", function(gltf) { + flower = gltf.scene; + }); + /** let flower; loader.load("/assets/models/street_lamp.glb", function(gltf) { flower = gltf.scene; }); - +*/ session.addEventListener("select", (event) => { -- GitLab