2dc42e8a93
The original implementation merged sub-polygons into a single polygon when rotating. This can cause non-simple geometries downstream algorithms cannot handle.