Added arbitrary rotations to polygons