[Tutor] Re: [pygame] Fastest (x,y) distance calculation

Niki Spahiev niki at vintech.bg
Thu Sep 11 11:27:40 EDT 2003


try math.hypot( x1-x2, y1-y2 )

HTH
Niki Spahiev





More information about the Tutor mailing list