Commit b864be14 authored by Percen's avatar Percen
Browse files

Update public/index.html

parent cb590df1
...@@ -132,12 +132,17 @@ ...@@ -132,12 +132,17 @@
flower = gltf.scene; 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; let flower;
loader.load("/assets/models/street_lamp.glb", function(gltf) { loader.load("/assets/models/street_lamp.glb", function(gltf) {
flower = gltf.scene; flower = gltf.scene;
}); });
*/
session.addEventListener("select", (event) => { session.addEventListener("select", (event) => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment