dos_tinyp - dalefugier/DOSLib GitHub Wiki

Determines if a 2D or 3D vector is very short.

Syntax

(dos_tinyp vector [tiny_tol])

Parameters

vector

The vector.

tiny_tol

The tolerance used to determine if the vector is tiny. If omitted, a tolerance of 1.0e-12 is used.

Returns

T if the vector is tiny.

nil on error.

Example

Command: (dos_tinyp '(1 0 0))
nil
Command: (dos_tinyp '(0 0 0))
T