Commit ac5489dd authored by Rushdi's avatar Rushdi
Browse files

Update 2-Hit.html

parent 639741f3
Pipeline #8156 passed with stage
in 4 seconds
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" <meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>Tap to Place Demo</title> <title>Tap to Place</title>
<!-- three.js --> <!-- three.js -->
<script src="https://unpkg.com/three@0.126.0/build/three.js"></script> <script src="https://unpkg.com/three@0.126.0/build/three.js"></script>
...@@ -70,9 +70,9 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re ...@@ -70,9 +70,9 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re
scene.add(reticle); scene.add(reticle);
}) })
let flower; let tv;
loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/sunflower/sunflower.gltf", function(gltf) { loader.load("https://transfer.hft-stuttgart.de/gitlab/22rumu1mpg/ar/-/raw/master/public/scene.gltf", function(gltf) {
flower = gltf.scene; tv = 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