rotate

fun rotate(radians: Double): Vector2

Rotates the vector about the origin using RADIANS. The rotation is anticlockwise if the y-axis points downwards.