Home
About
Policies
FAQ
Forums
Registration
Password Recovery

Dist (MPI)

From Tapestries MUCK

Revision as of 01:37, 31 March 2007 by Ash-Fox (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

dist

{dist:x,y}              Returns distance from 0,0 that x,y is.

{dist:x,y,z}            Returns distance from 0,0,0 that x,y,z is.

{dist:x,y,x2,y2}        Returns distance between x,y and x2,y2.

{dist:x,y,z,x2,y2,z2}   Returns distance between x,y,z and x2,y2,z2.

Given two arguments, this calculates the distance of a 2D point from he origin.

Given three arguments, this calculates the distance of a 3D point from the origin.

Given four arguments, this calculates the distance between a pair of 2D points.

Given six arguments, this calculates the distance between a pair of 3D points.

Personal tools
Namespaces
Variants
Actions
navagation
information
wiki
Toolbox