normalize_val


Description:

public Vector2 normalize_val ()

Identical to [method@Vector2.

normalize], but the vector is passed by value rather than by reference.

Parameters:

this

a Vector2.

Returns:

a Vector2 parallel to this, pointing in the same direction but with a length of 1.0.