vector →
normalize() → vector

Returns a unit vector pointing in the same direction as the input vector.

Parameters

This function has no parameters.

Examples

V(3, 4) | normalize  V(0.6, 0.8)

Kind: Function
Scope: vector
Aliases: None


This site uses Just the Docs, a documentation theme for Jekyll.