normalize


Description:

[ Version ( since = "1.0" ) ]
public Vec2 normalize ()

Computes the normalized vector for the given vector this.

Parameters:

this

a Vec2

res

return location for the normalized vector