Commit 98601ab9 authored by Percen's avatar Percen
Browse files

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

Update public/index.html

See merge request !114
1 merge request!114Update public/index.html
Pipeline #10658 passed with stage
in 8 seconds
Showing with 3 additions and 1 deletion
+3 -1
...@@ -204,6 +204,7 @@ ...@@ -204,6 +204,7 @@
scene.add(light); scene.add(light);
// Reticle (Cursor) // Reticle (Cursor)
const loader = new THREE.GLTFLoader(); const loader = new THREE.GLTFLoader();
loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/reticle.gltf", (gltf) => { loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/reticle.gltf", (gltf) => {
reticle = gltf.scene; reticle = gltf.scene;
...@@ -211,8 +212,9 @@ ...@@ -211,8 +212,9 @@
scene.add(reticle); scene.add(reticle);
}); });
//https://threejs.org/examples/models/gltf/RobotExpressive/RobotExpressive.glb
// Modelle laden // Modelle laden
loader.load("https://threejs.org/examples/models/gltf/RobotExpressive/RobotExpressive.glb", (gltf) => { 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 = gltf.scene;
}); });
//https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf //https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.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