function getDistance3d (shared-side)
Available since version: 0.0.1
This function will get the 3d distance between two points.
Declaration
float getDistance3d(float x1, float y1, float z1, float x2, float y2, float z2)
Parameters
floatx1: the position on X axis of the first point.floaty1: the position on Y axis of the first point.floatz1: the position on Z axis of the first point.floatx2: the position on X axis of the second point.floaty2: the position on Y axis of the second point.floatz2: the position on Z axis of the second point.
Returns float
Returns the calculated 3d distance between two points as floating point number.