Skip to content

Commit 2ab8246

Browse files
authored
Update index.html
1 parent da87abc commit 2ab8246

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

index.html

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
<!DOCTYPE html>
22
<html>
3-
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
4-
<!-- we import arjs version without NFT but with marker + location based support -->
5-
<script src="https://raw.githack.com/AR-js-org/AR.js/dev/aframe/build/aframe-ar.js"></script>
6-
<body style="margin : 0px; overflow: hidden;">
7-
<a-scene embedded arjs>
8-
<a-marker preset="hiro">
9-
<a-entity
10-
position="0 0 0"
11-
rotation="0 0 0"
12-
scale="0.05 0.05 0.05"
13-
gltf-model="../image-tracking/nft/trex/scene.gltf"
14-
></a-entity>
15-
</a-marker>
16-
<a-entity camera></a-entity>
17-
</a-scene>
18-
</body>
3+
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
4+
<!-- we import arjs version without NFT but with marker + location based support -->
5+
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
6+
<body style="margin : 0px; overflow: hidden;">
7+
<a-scene embedded arjs>
8+
<a-marker preset="hiro">
9+
<!-- we use cors proxy to avoid cross-origin problems -->
10+
<a-entity
11+
position="0 0 0"
12+
scale="0.05 0.05 0.05"
13+
gltf-model="https://github.com/AR-js-org/AR.js/blob/master/aframe/examples/image-tracking/nft/trex/scene.gltf"
14+
></a-entity>
15+
</a-marker>
16+
<a-entity camera></a-entity>
17+
</a-scene>
18+
</body>
1919
</html>

0 commit comments

Comments
 (0)