3.61. s3d_vector_dot_product

#include <s3d.h>

float s3d_vector_dot_product( float vector1[], float vector2[] );

Calculates and returns the dot product of vector1 and vector2. All vectors should have the format float[3]. More info on wikipedia.