Normalise point as a unit vector.
normalise({x:10, y:20});normalise(10, 20); Copy
normalise({x:10, y:20});normalise(10, 20);
Point, or x value
Optional
y value if first param is x
Normalise point as a unit vector.