added support for rotated SubTextures (closes #86)