I'm trying to get a sprite to rotate around its center and I'm not having much luck. I've tried setting the center vector to be the center of the sprite plus its current position (so if a sprite had a center of 2 and a position of 30 its new center would be 32). I then set the sprite's tranform matrix to a rotation matrix but it acts all weird. If I leave the center alone, it rotates around 0,0 (upper left corner). Can anyone help me out?