Returns the unit vector corresponding to a vector.
The unit vector has the same direction as the specified vector, but with a magnitude of 1.
vector is the vector whose unit vector you want.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License