Normalizes the components of a vector such that its magnitude is now 1.
const vector = new Vector(4, 0, 0)normalize(vector1).components() //-> [1, 0, 0, 0]
A new normalized Vector
Tuple to normalize
Generated using TypeDoc
Normalizes the components of a vector such that its magnitude is now 1.
Example
Returns
A new normalized Vector