DistanceBetweenPoints
- Parameters
-
locA location
locB location
- comment
- patch
1.00
- Source
- Blizzard.j
- return type
real
- Source code
function DistanceBetweenPoints takes location locA, location locB returns real local real dx = GetLocationX(locB) - GetLocationX(locA) local real dy = GetLocationY(locB) - GetLocationY(locA) return SquareRoot(dx * dx + dy * dy) endfunction