rotate_val


Description:

public Vector2 rotate_val (double alpha)

Identical to [method@Vector2.

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

Parameters:

this

a Vector2.

alpha

an angle (in radians).

Returns:

a Vector2 representing this rotated by alpha radians.