Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- V1 = comp(Aimpos:x(),Aimpos:y())
- V1 /= abs(V1)
- V2 = comp((B-A):x(),(B-A):y())
- V2 /= abs(V2)
- Angle = real(-i()*log(V2/V1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement