guNormalize
Normalizes a vector
#include <ultra64.h> /* gu.h */
void guNormalize(float *x, float *y, float *z);
None.
Normalizes the 3D vector (makes the size = 1) and returns (x, y, z). When this function is called, the result is the creation of the following type of vector:
![]() |
= 0. |
03/01/99 Completely rewritten.