Vector3D::Normalize
Defined in:
Normalizes a 3D vector.
TSVector3D.h
Prototype
Vector3D& Normalize(void);
Description
The Normalize
function multiplies a 3D vector by the inverse of its magnitude, normalizing it to unit length. Normalizing the zero vector produces undefined results.The return value is a reference to the vector object.