Added texture rotation for 180 and 270 degrees

Not fully implemented yet. Just the basic support for Spine.