Added rotating textures and drawing for rects and lines.