GetVectorDotProduct Function

Calculates the dot product of two vectors.

float GetVectorDotProduct(const float vec1[3], const float vec2[3])

Parameters

const float[3] vec1

First vector.

const float[3] vec2

Second vector.

Return Value

Dot product of the two vectors.