Dist3d()

From TinyMUX
Jump to navigation Jump to search


dist3d(x1, y1, z1, x2, y2, z2)

Returns the distance between the Cartesian points in three dimensions

 (x1,y1,z1) and (x2,y2,z2).

Example

> say dist3d(0,0,0,10,15,20)

You say, "27"

Related Topics

dist2d()