Vec4Normalize |
Top Previous Next |
Syntax:
Vec4Normalize(VECTOR4 v), VECTOR4
Purpose: Returns the normalized version of a 4D vector.
Parameters: v - The vector to normalize.
Returned value: The normalized vector in a VECTOR4 UDT.
Application: v1 = Vec4Normalize(v1)
Additional Info: Normalizing a vector returns the vector with unit length, keeping the same direction. |