Image rotation in SDL [Archive] - C Board

PDA

View Full Version : Image rotation in SDL


Kinasz
12-16-2003, 08:57 AM
Does anybody know how to rotate an image ( SDLsurface ) in SDL?

MathFan
12-25-2003, 11:48 AM
I don't know of any in-built function in SDL, which does this for you.
May be you should try to do it pixel by pixel with cosine and sine functions or something?