table of contents
other versions
- jessie 0.2.2-10
- stretch 0.2.2-14
- testing 0.2.2-16
- unstable 0.2.2-16
- experimental 0.2.2-17
S3D_VECTOR_DOT_PRODU(3) | s3d Manual | S3D_VECTOR_DOT_PRODU(3) |
NAME¶
s3d_vector_dot_product - calculate dot product of two vectorsSYNOPSIS¶
#include <s3d.h>
float
s3d_vector_dot_product(const float vector1[],
const float vector2[]);
DESCRIPTION¶
Calculates and returns the dot product of vector1 and vector2. All vectors should have the format float[3]. More info on wikipedia. http://en.wikipedia.org/wiki/Vector_(spatial)AUTHOR¶
Simon WunderlichAuthor of s3d
s3d |