Commit 5b723d62 authored by Thapa's avatar Thapa
Browse files

Update 2-Hit.html

parent 8d7dd35b
Pipeline #8160 passed with stage
in 5 seconds
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>Hit to Place Demo</title>
<title>Tap to Place Demo</title>
<!-- three.js -->
<script src="https://unpkg.com/three@0.126.0/build/three.js"></script>
......@@ -16,7 +15,7 @@
<!-- Starting an immersive WebXR session requires user interaction.
We start this one with a simple button. -->
<button onclick="activateXR()">Start Hit to Place Demo</button>
<button onclick="activateXR()">Start Tap to Place Demo</button>
<script>
async function activateXR() {
// Add a canvas element and initialize a WebGL context that is compatible with WebXR.
......@@ -72,7 +71,7 @@ loader.load("https://immersive-web.github.io/webxr-samples/media/gltf/reticle/re
})
let flower;
loader.load("https://transfer.hft-stuttgart.de/gitlab/luxthapa6363/visualization/-/raw/master/gltf/model.gltf", 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