Try my new website:
www.urcho.com
- the new SIMPLE social network
Sign up
|
287
members |
114
snippets
Search for:
ALL
POPULAR
File Controls
Multiplayer Code
2D Effects
3D Effects
Oldskool demos
Basic Functions
Maths/Physics
Sound
Tutorials
Misc
Username:
Password:
Sign up
distance
[
back
]
Author:
fff3
| Viewed:
668
times | Language:
BlitzMax
| Category:
Basic Functions
Function distance(x1, y1, x2, y2) Local distance distance = Sqr((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)) Return distance End Function
Author Comments:
Distance between two points
Login or
create an account
to comment on this snippet