Warcraft III resources & community, 2003–2006 · archived

DistanceBetweenPointsXYZ

not rated
Submitted by KaTTaNaCalculations0 downloads
Same as DistanceBetweenPoints but does not take locations.

Source

function DistanceBetweenPointsXY takes real x1, real y1, real x2, real y2 returns real
    return SquareRoot((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2))
endfunction

Comments

0

No comments.