Sprite Rotation With Sdl
I'm writing a program in which I need to implement simple 2D rotations of small sprites. It must be as accurate as possible, so I'm not interested in precaching 360 images of every sprite I've got... is there a rotation function I can use?
You could use the OGL part of SDL to use glRotatef(). You'd have to push and pop matrices though.
Yeah... what does that mean? that I need to install an extension named OGL? I don't know... Any other ideas anyone?
Next time you are probably better off in the game programmings board.
Now to your problem: Desolation is saying that you are probably much better off using SDL together with OpenGL (which is a crossplatform graphics api), to do rotations.