Commit cdd86f53 authored by Percen's avatar Percen
Browse files

Update public/index.html

Showing with 0 additions and 6 deletions
+0 -6
...@@ -73,9 +73,6 @@ session.updateRenderState({ ...@@ -73,9 +73,6 @@ session.updateRenderState({
// near the viewer's position at the time the session was created. // near the viewer's position at the time the session was created.
const referenceSpace = await session.requestReferenceSpace('local'); 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. // Create another XRReferenceSpace that has the viewer as the origin.
const viewerSpace = await session.requestReferenceSpace('viewer'); const viewerSpace = await session.requestReferenceSpace('viewer');
...@@ -106,9 +103,6 @@ session.addEventListener("select", (event) => { ...@@ -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. // Create a render loop that allows us to draw on the AR view.
const onXRFrame = (time, frame) => { const onXRFrame = (time, frame) => {
......
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