Guest User

Untitled

a guest
Oct 19th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. -- Retourne un angle en fournissant les coordonées
  2. function returnangle(x,y,x2,y2)
  3. return 360-(math.atan2(x - x2, y- y2) * 180 /math.pi +90)
  4. end
  5. -- Fin de la fonction qui retourne un angle
Add Comment
Please, Sign In to add comment