Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getDistanceBetweenPoints2D(x1, y1, x1, y1)
- return math.sqrt((x1-x2)^2+(y1-y2)^2)
- end
- function getDistanceBetweenPoints2D(x1, y1, x1, y1)
- return math.sqrt(math.sqrt((z1-z2)^2+(y1-y2)^2)^2+(x1-x2)^2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement