driver.love/0133-dist

3 lines
67 B
Plaintext

dist = function(x1,y1, x2,y2)
return ((x2-x1)^2+(y2-y1)^2)^0.5
end