.gltf -> .glb
This commit is contained in:
parent
f3f2e9c75e
commit
d5cdf817ac
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
<a class="btn-foot" id="source" target="_blank" href="https://github.com/coderofsalvation/xrfragment-helloworld">➕ clone project</a>
|
<a class="btn-foot" id="source" target="_blank" href="https://github.com/coderofsalvation/xrfragment-helloworld">➕ clone project</a>
|
||||||
<a class="btn-foot" id="embed" target="_blank" onclick="embed()">🔗 share</a>
|
<a class="btn-foot" id="embed" target="_blank" onclick="embed()">🔗 share</a>
|
||||||
<a class="btn-foot" id="model" target="_blank" href="index.gltf">⬇️ scene</a>
|
<a class="btn-foot" id="model" target="_blank" href="index.glb">⬇️ scene</a>
|
||||||
<a class="btn-foot" id="more" target="_blank" >XRF</a>
|
<a class="btn-foot" id="more" target="_blank" >XRF</a>
|
||||||
<textarea style="display:none"></textarea>
|
<textarea style="display:none"></textarea>
|
||||||
<canvas id="qrcode" style="display:none" width="300" height="300"></canvas>
|
<canvas id="qrcode" style="display:none" width="300" height="300"></canvas>
|
||||||
|
|
@ -120,7 +120,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 : 'index.gltf#pos=0,1,20'
|
let file = document.location.search.length > 2 ? document.location.search.substr(1) + document.location.hash : 'index.glb'
|
||||||
|
|
||||||
// optional decoration of href event
|
// optional decoration of href event
|
||||||
XRF.addEventListener('href',(e) => {
|
XRF.addEventListener('href',(e) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue