Rotate all points around a center point.
The array of points to rotate.
The rotation angle in degrees.
Optional
The center point to rotate around. If not provided, the center of the bounding box of the points is used.
An array of rotated points [tl, tr, br, bl].
Rotate all points around a center point.