Guest User

Untitled

a guest
Jun 22nd, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. function lookAt(v1, v2) =
  2. let(v = v2-v1)
  3. [
  4. 0,
  5. acos(v[2]/distance(v1,v2)),
  6. atan2(v[1], v[0])
  7. ];
Add Comment
Please, Sign In to add comment