-
Notifications
You must be signed in to change notification settings - Fork 28
dos_dotproduct
Dale Fugier edited this page Nov 1, 2023
·
1 revision
Calculates the dot product of two 2D or two 3D vectors.
(dos_dotproduct vector1 vector2)
vector1
The first vector.
vector2
The second vector.
The dot product, if successful.
nil on error.
Command: (dos_dotproduct '(1 0) '(0.70710 0.70710))
0.7071
Command: (dos_dotproduct '(1 0 0) '(0 0 1))
0