-
Notifications
You must be signed in to change notification settings - Fork 28
dos_anglebetween
Dale Fugier edited this page Nov 1, 2023
·
3 revisions
Returns the angle between two 2D or two 3D vectors.
dos_anglebetween vector1 vector2)
vector1
The first vector.
vector2
The second vector.
The angle in radians, if successful.
nil on error.
Command: (dos_anglebetween '(1 0) '(0.70710 0.70710))
0.785398
Command: (dos_anglebetween '(1 0 0) '(0 0 1))
1.5708