Commit 09b3f0a8 authored by Alfakhori's avatar Alfakhori
Browse files

Update public/webXR/three.html

parent b6e48247
Pipeline #7502 passed with stages
in 10 seconds
...@@ -13,9 +13,7 @@ ...@@ -13,9 +13,7 @@
<!-- Starting an immersive WebXR session requires user interaction. <!-- Starting an immersive WebXR session requires user interaction.
We start this one with a simple button. --> We start this one with a simple button. -->
<button onclick="activateXR()">Start Cube Demo</button>
<script> <script>
async function activateXR() {
// ------------------------------------------------ // ------------------------------------------------
// BASIC SETUP // BASIC SETUP
// ------------------------------------------------ // ------------------------------------------------
...@@ -64,7 +62,6 @@ var render = function () { ...@@ -64,7 +62,6 @@ var render = function () {
render(); render();
}
</script> </script>
</body> </body>
</html> </html>
Markdown is supported
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