-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from rodrigocam/screen-resize
[REVIEW] Fix resize function based on aspect ratio of the video and window size
- Loading branch information
Showing
2 changed files
with
116 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
<html> | ||
<head> | ||
<script src="vendor/artoolkit.min.js"></script> | ||
<script src="vendor/three.min.js"></script> | ||
<script src="vendor/artoolkit.three.js"></script> | ||
<script src="ar-gif.min.js" defer></script> | ||
</head> | ||
<body style="overflow: hidden; position: fixed"> | ||
<ar-scene> | ||
<ar-marker patt="patts/temaki.patt" content="gifs/temaki.gif"></ar-marker> | ||
<ar-marker patt="patts/peixe.patt"> | ||
<ar-content src="gifs/peixe.gif" scale="1.5 1.5" position="0 0 0" rotation="0 0 0"> | ||
</ar-content> | ||
</ar-marker> | ||
<ar-marker mult patterns="" content="gifs/multi.gif"></ar-marker> | ||
</ar-scene> | ||
</body> | ||
|
||
<head> | ||
<script src="vendor/artoolkit.min.js"></script> | ||
<script src="vendor/three.min.js"></script> | ||
<script src="vendor/artoolkit.three.js"></script> | ||
<script src="ar-gif.min.js" defer></script> | ||
</head> | ||
|
||
<body style="overflow: hidden; margin:0;"> | ||
<ar-scene> | ||
<ar-marker patt="patts/temaki.patt" content="gifs/temaki.gif"></ar-marker> | ||
<ar-marker patt="patts/peixe.patt"> | ||
<ar-content src="gifs/peixe.gif" scale="1.5 1.5" position="0 0 0" rotation="0 0 0"> | ||
</ar-content> | ||
</ar-marker> | ||
<ar-marker mult patterns="" content="gifs/multi.gif"></ar-marker> | ||
</ar-scene> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters