Added ability to rotate (2d) objects