rotate(theta, [x], [y]) returns a counter-clockwise 2D rotation by an angle $\theta$, optionally around the point $(x,y)$. If no point is specified, the rotation is around the origin.
rotate(theta, [x], [y])
angle of rotation (in radians)
center of rotation (x coordinate)
center of rotation (y coordinate)
Rotation matrix
rotate(theta, [x], [y])
returns a counter-clockwise 2D rotation by an angle $\theta$, optionally around the point $(x,y)$. If no point is specified, the rotation is around the origin.