From: Shawn H. <Sh...@ta...> - 1998-01-30 20:52:22
|
Gregor Brunmar <gr...@he...> writes: >I have a little problem with rotating a sprite. I write this code, but >the sprite isn't rotating at all... what do I do wrong? The angle of rotation is in fixed point format, so you need to scale your value up by a factor of 65536. A full circle is represented as 16777216, so you were only rotating it by about 0.00275 degrees :-) -- Shawn Hargreaves - sh...@ta... - http://www.talula.demon.co.uk/ "Pigs use it for a tambourine" - Frank Zappa |