typofix
This commit is contained in:
parent
d948cb2d8b
commit
f84b4bb14d
2 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@
|
||||||
<a-entity camera="fov:90" position="0 1.6 0" id="camera"></a-entity>
|
<a-entity camera="fov:90" position="0 1.6 0" id="camera"></a-entity>
|
||||||
</a-entity>
|
</a-entity>
|
||||||
|
|
||||||
<a-entity id="home" xrf="example3.gltf#pos=0,0,0"></a-entity>
|
<a-entity id="home" xrf="example.gltf#pos=0,0,0"></a-entity>
|
||||||
<a-entity id="floor" xrf-get="floor"></a-entity>
|
<a-entity id="floor" xrf-get="floor"></a-entity>
|
||||||
</a-scene>
|
</a-scene>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@
|
||||||
|
|
||||||
window.XRF = XRF // expose to form
|
window.XRF = XRF // expose to form
|
||||||
|
|
||||||
let file = document.location.search.length > 2 ? document.location.search.substr(1) + document.location.hash : './../../assets/example3.gltf#pos=1,0,4&rot=0,-30,0'
|
let file = document.location.search.length > 2 ? document.location.search.substr(1) + document.location.hash : './../../assets/example.gltf#pos=1,0,4&rot=0,-30,0'
|
||||||
$('#model').setAttribute("href","./../../asset/"+file)
|
$('#model').setAttribute("href","./../../asset/"+file)
|
||||||
XRF.navigator.to( file )
|
XRF.navigator.to( file )
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue