From f580cbf75cffec8196d8391649e57196110443c8 Mon Sep 17 00:00:00 2001 From: Esguerra Montana <32esla1mpg@hft-stuttgart.de> Date: Mon, 17 Jun 2024 18:21:46 +0000 Subject: [PATCH] Update index.html --- public/index.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index e0ccc76..9df8043 100644 --- a/public/index.html +++ b/public/index.html @@ -1,18 +1,25 @@ +<!-- Working for part 2: Can place a chair --> + + + +<!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> + <!-- three.js --> <script src="https://unpkg.com/three@0.126.0/build/three.js"></script> + <script src="https://unpkg.com/three@0.126.0/examples/js/loaders/GLTFLoader.js"></script> </head> <body> + <!-- 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> - <script> async function activateXR() { // Add a canvas element and initialize a WebGL context that is compatible with WebXR. -- GitLab