15 lines
409 B
Plaintext
15 lines
409 B
Plaintext
\b;Instruction \c;distance2d\n;
|
|
Syntax:
|
|
\s;\c;distance2d ( pos1, pos2 );\n;
|
|
|
|
Calculates the distance between two positions (ignores the z coordinate).
|
|
|
|
\t;pos1, pos2: \c;\l;point\u cbot\point;\n;
|
|
Coordinates of the two positions.
|
|
|
|
\t;Return value: \c;\l;float\u cbot\float;\n;
|
|
Distance between the two positions.
|
|
|
|
\t;See also
|
|
\l;Programming\u cbot;, \l;types\u cbot\type; and \l;categories\u cbot\category;.
|