Skip to content

dos_length

Dale Fugier edited this page Nov 7, 2023 · 1 revision

Calculates the length of a 2D or 3D vector.

Syntax

(dos_length vector)

Parameters

vector

The vector.

Returns

The length, if successful.

nil on error.

Example

Command: (dos_length '(3 2))
3.60555
Command: (dos_length '(3 2 2))
4.12311
Clone this wiki locally