Vec3Dot

Top  Previous  Next

Syntax:

 

Vec3Dot(VECTOR3 A, VECTOR3 B), VECTOR3

 

Purpose:

Determines the dot-product of two 3D vectors.

 

Parameters:

A - The first 3D vector.

B - The second 3D vector.

 

Returned value:

The dot product of the two 3D vectors stored in a VECTOR3 UDT.

 

Application:

v3 = Vec3Dot(v1, v2)