Vec3Cross

Top  Previous  Next

Syntax:

 

Vec3Cross(VECTOR3 A, VECTOR3 B), VECTOR3

 

Purpose:

Determines the cross-product of two 3D vectors.

 

Parameters:

A - The first 3D vector.

B - The second 3D vector.

 

Returned value:

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

 

Application:

v3 = Vec3Cross(v1, v2)