Created
July 5, 2016 06:42
-
-
Save andrevenancio/a9c29b3f0ad347a120c0490acb18321c to your computer and use it in GitHub Desktop.
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
var pos = tracker.getCurrentPosition(); | |
var angleRadians = Math.atan2(pos[25][1] - pos[23][1], pos[25][0] - pos[23][0]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment