Advertisement
casencty

distance(x,y,xx,yy)

Oct 7th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.08 KB | None | 0 0
  1. function distance(x,y,xx,yy)
  2.   return math.sqrt(((x-xx)*(x-xx))+((y-yy)*(y-yy)))
  3. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement