Contents:
Rotates a 2-element vector by an angle.
vec – Vector to rotate.
ang – Rotation angle, in radians.
Rotated vector.