diff --git a/public/index.html b/public/index.html index fb7461bdb3af7df51511e4523eb2a9a230f7b0d6..90a7fa51ab738d51251d8eeaa78cb91e8a163f77 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) => {