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
Získejte registraci domén s tld .online, .space, .store, .tech zdarma!
Stačí si k jedné z těchto domén vybrat hosting Plus nebo Mega a registraci domény od nás dostanete za 0 Kč!
Objednat