k5-compose
/
math
/
Vector2DKt
/
normalize
normalize
final static
Vector2D
normalize
(
Vector2D
$self)
Content copied to clipboard
Normalizes the vector to length 1 - making unit vector
Return
Vector2D