Commit 4797f633 authored by Percen's avatar Percen
Browse files

Merge branch '21pesi1bif-master-patch-14303' into 'master'

Update public/index.html

See merge request !116
1 merge request!116Update public/index.html
Pipeline #10660 passed with stage
in 9 seconds
Showing with 3 additions and 0 deletions
+3 -0
......@@ -216,12 +216,15 @@
// Modelle laden
loader.load("https://transfer.hft-stuttgart.de/gitlab/geovistoogsi/ar/-/raw/master/public/assets/models/bench_model/scene.gltf", (gltf) => {
models.robot = gltf.scene;
models.robot.position.set(0, 0, -2);
models.robot.lookAt(camera.position);
scene.add(models.robot);
});
//https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf
loader.load("https://transfer.hft-stuttgart.de/gitlab/geovistoogsi/ar/-/raw/master/public/assets/models/trash_model/scene.gltf", (gltf) => {
models.sunflower = gltf.scene;
models.sunflower.scale.set(0.04, 0.04, 0.04);
});
loader.load("https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Assets/refs/heads/main/Models/Lantern/glTF/Lantern.gltf", (gltf) => {
......
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