Vec3Normalize

Top  Previous  Next

Syntax:

 

Vec3Normalize(VECTOR3 v), VECTOR3

 

Purpose:

Returns the normalized version of a 3D vector.

 

Parameters:

v - The vector to normalize.

 

Returned value:

The normalized vector in a VECTOR3 UDT.

 

Application:

v1 = Vec3Normalize(v1)

 

Additional Info:

Normalizing a vector returns the vector with unit length, keeping the same direction.