Commit 231a0edb authored by Ramirez's avatar Ramirez
Browse files

Update public/FirtsTrial.html

parent 037547b8
......@@ -35,7 +35,7 @@ async function activateXR() {
const loader = new THREE.GLTFLoader();
let model;
loader.load("URL_TO_YOUR_GTLF_MODEL", function(gltf) {
loader.load("https://transfer.hft-stuttgart.de/gitlab/bramirez/civ/-/blob/master/gltf/scene.gltf", function(gltf) {
model = gltf.scene;
});
......@@ -44,7 +44,7 @@ async function activateXR() {
baseLayer: new XRWebGLLayer(session, gl)
});
const referenceSpace = await session.requestReferenceSpace('local');
const referenceSpace = await session.requestReferenceSpace('local');s
const viewerSpace = await session.requestReferenceSpace('viewer');
const hitTestSource = await session.requestHitTestSource({ space: viewerSpace });
......
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