dos_vector - dalefugier/DOSLib GitHub Wiki
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)