Example
Rotate a Polygon
geometric.polygonRotate(polygon, angle[, origin]) returns the vertices resulting from rotating a polygon about an origin by an angle in degrees. If origin is not specified, the origin defaults to [0, 0].
Adjust the rotation to see polygonRotate rotate the polygon around the center of the scene.
Code