Commit 4116b9af authored by Rushdi's avatar Rushdi
Browse files

Update 2-Hit.html

parent f12d31cb
Pipeline #8166 passed with stage
in 5 seconds
......@@ -64,14 +64,14 @@ const hitTestSource = await session.requestHitTestSource({ space: viewerSpace })
const loader = new THREE.GLTFLoader();
let reticle;
loader.load("https://transfer.hft-stuttgart.de/gitlab/22rumu1mpg/ar/-/blob/master/public/scene.gltf", function(gltf) {
loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/reticle.gltf", function(gltf) {
reticle = gltf.scene;
reticle.visible = false;
scene.add(reticle);
})
let flower;
loader.load("https://transfer.hft-stuttgart.de/gitlab/22rumu1mpg/ar/-/raw/master/public/scene.gltf?inline=false", function(gltf) {
loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf", function(gltf) {
flower = gltf.scene;
});
......
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