Skip to content

Commit

Permalink
Changed include script for A-frame js as in the comments here: jerome…
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudospencer committed Feb 19, 2018
1 parent 14e4f65 commit 1240aa2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions germs_ar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,18 @@
<meta charset="utf-8">
<title>Germs AR</title>
<!-- Include A-frame -->
<script type="text/javascript" src="https://aframe.io/releases/0.6.0/aframe.min.js">
</script>
<!-- Include ar.js for a-frame -->
<script type="text/javascript" src="https://jeromeetienne.github.io/AR.js/aframe/build/aframe-ar.js">
</script>
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
<!-- Include ar.js for a-frame (this one updated for iOS 11.2)-->
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.5.0/aframe/build/aframe-ar.js"></script>
</head>

<body style="margin: 0px; overflow: hidden;">
<!-- initialize ar.js in scene-->
<a-scene embedded arjs>
<!-- a box -->
<a-box position="0 0.5 0" material="opacity: 0.5;"></a-box>
<!-- define camera that moves according to marker position -->
<a-marker-camera preset="hiro"></a-marker-camera>
</a-scene>
</a-scene>h
</body>
</html>

0 comments on commit 1240aa2

Please sign in to comment.