Advertisement
Guest User

Untitled

a guest
May 27th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. V1 = comp(Aimpos:x(),Aimpos:y())
  2. V1 /= abs(V1)
  3. V2 = comp((B-A):x(),(B-A):y())
  4. V2 /= abs(V2)
  5. Angle = real(-i()*log(V2/V1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement