http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gameprogrammer] Re: advanced game



Well, you can apply a rotation matrix once you have the angle, or feed
that angle into a library such as SDLRotozoom or whatever.

On 4/30/07, Yasser Gonzalez <yassergs@ispejv.rimed.cu> wrote:
for example. The hero is runnig over a circle, so the angle is 360
degrees. To convert degrees in radians:

  radians=degrees*PI/180. {is that right?}

Then How it is applied to the rotation of the hero?????


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html





--
Paul Smith
Computer programmer

paul@pollyandpaul.co.uk

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html