Commit b45d5d87 authored by Esguerra Montana's avatar Esguerra Montana
Browse files

Update index.html

parent 5b72514e
Pipeline #9481 passed with stage
in 7 seconds
...@@ -48,7 +48,7 @@ async function activateXR() { ...@@ -48,7 +48,7 @@ async function activateXR() {
const loader = new THREE.GLTFLoader(); const loader = new THREE.GLTFLoader();
let reticle; let reticle;
loader.load("https://transfer.hft-stuttgart.de/gitlab/32esla1mpg/webarTTP/-/blob/master/media/reticle.gltf", function(gltf) { loader.load("https://transfer.hft-stuttgart.de/gitlab/32esla1mpg/webarTTP/-/tree/master/media/reticle.gltf", function(gltf) {
reticle = gltf.scene; reticle = gltf.scene;
reticle.visible = false; reticle.visible = false;
scene.add(reticle); scene.add(reticle);
...@@ -58,7 +58,7 @@ async function activateXR() { ...@@ -58,7 +58,7 @@ async function activateXR() {
}); });
let model; let model;
loader.load("https://transfer.hft-stuttgart.de/gitlab/32esla1mpg/webarTTP/-/blob/master/media/sunflower.gltf", function(gltf) { loader.load("https://transfer.hft-stuttgart.de/gitlab/32esla1mpg/webarTTP/-/tree/master/media/sunflower.gltf", function(gltf) {
model = gltf.scene; model = gltf.scene;
console.log("Model loaded successfully"); console.log("Model loaded successfully");
}, undefined, function(error) { }, undefined, function(error) {
......
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