Skip to content

dos_vector

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

Creates a vector from two 2D or two 3D points.

Syntax

(dos_vector point1 point2)

Parameters

point1

The first point.

point2

The second point.

Returns

The vector, if successful.

nil on error.

Example

Command: (dos_vector '(3 2) '(1 1))
(2 1)
Command: (dos_vector '(3 2 2) '(1 1 5))
(2 1 -3)
Clone this wiki locally