History:
PointDistance
int PointDistance( double x1, double y1, double x2, double y2 )
Returns the distance between two points.
Code
int PointDistance( double x1, double y1, double x2, double y2 ) { return (int)sqrt( (double)( (x1-x2)*(x1-x2)+(y1-y2)*(y1-y2) ) ); }
Code.Tode.cz by Henry - 2014