num.p2.rot

rot(p, angle)

Immutably rotates p by angle in radians.