logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

s3d_vector_dot_product - calculate dot product of two vectors

Author

SimonWunderlich
           Author of s3d

s3d                                                                                      S3D_VECTOR_DOT_PRODU(3)

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)

Name

       s3d_vector_dot_product - calculate dot product of two vectors

Synopsis

#include<s3d.h>floats3d_vector_dot_product(constfloatvector1[],constfloatvector2[]);

See Also