From cdd86f5323f2575d3539cf389146971a3247f620 Mon Sep 17 00:00:00 2001 From: Percen <21pesi1bif@hft-stuttgart.de> Date: Mon, 9 Dec 2024 13:44:09 +0000 Subject: [PATCH] Update public/index.html --- public/index.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/public/index.html b/public/index.html index e357985..07a198f 100644 --- a/public/index.html +++ b/public/index.html @@ -73,9 +73,6 @@ session.updateRenderState({ // near the viewer's position at the time the session was created. const referenceSpace = await session.requestReferenceSpace('local'); -// A 'local' reference space has a native origin that is located -// near the viewer's position at the time the session was created. -const referenceSpace = await session.requestReferenceSpace('local'); // Create another XRReferenceSpace that has the viewer as the origin. const viewerSpace = await session.requestReferenceSpace('viewer'); @@ -106,9 +103,6 @@ session.addEventListener("select", (event) => { }); -// Create a render loop that allows us to draw on the AR view. -const onXRFrame = (time, frame) => { - // Create a render loop that allows us to draw on the AR view. const onXRFrame = (time, frame) => { -- GitLab