NeoYang 發表於 2007-4-23 15:55:38

DistanceBetweenPointsXYZ

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

轉貼自http://www.wc3jass.com/
 
頁: [1]
查看完整版本: DistanceBetweenPointsXYZ

Checking the Pageranks