Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 165 Bytes
Strict
Function Distance:Float(x1:Float, y1:Float, x2:Float, y2:Float)
Local dx:Float = x2 - x1
Local dy:Float = y2 - y1
Return Sqrt(dx*dx + dy*dy)
End