normalize

fun normalize(): Vec2<T>

Returns a unit vector in the direction of this vector.

Since

v2.0.0