WEO華特艾斯聯盟's Archiver
論壇
›
世界編輯器討論區
› DistanceBetweenPointsXY
NeoYang
發表於 2007-4-23 15:54:47
DistanceBetweenPointsXY
function DistanceBetweenPointsXY takes real x1, real y1, real x2, real y2 returns real
return SquareRoot((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2))
endfunction
轉貼自http://www.wc3jass.com/
頁:
[1]
查看完整版本:
DistanceBetweenPointsXY