Normalize a vector. The returned vector will have the same direction as the original vector but have a magnitude of 1.
The original vector
The normalized vector. This function will return a zero vector if the original vector is a zero vector.
Generated using TypeDoc
Normalize a vector. The returned vector will have the same direction as the original vector but have a magnitude of 1.