Adds rotation for sprites and primitives.