Original Post
Hello,
I would like to rotate sprites that I''ve stored in surfaces in DirectDraw. I''ve got some (slow) trig rotation formulas, but I don''t want to spend time implementing and optimizing only to find a faster way. So I was wondering if anyone can offer me some suggestions... I did notice in the DirectX SDK documentation that the Blt() function has some kind of support for rotation but I can''t figure out how to implement this. I tried filling in the DDBLTFX with the rotation angle * 100, and specifying the flag for rotation in Blt(), but this didn''t work. Any help would be appreciated.
Thanks in advance,
-Jey Kottalam
14 Year Old Computer Programmer
http://www.armageddongames.com