Dist3d()

From TinyMUX
Revision as of 19:52, 25 November 2010 by Ihavenomouth (talk | contribs) (New page: Category:Functions {{Function|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 == ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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()