Re: [AD] rotate direction

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Elias Pschernig wrote:

I see. So right now if you draw a point at

x = cos(angle)
y = sin(angle)

By definition, this is correct.


The only thing al_draw_rotated_* can do is either rotated clockwise with
a positive paramter or with a negative one - I wouldn't know of any
reason myself to prefer one over the other though. Any math people know
if this is somehow specified?

AFAIK, clockwise and negative, so al_draw_rotated_* does it right.


--
Milan Mimica
http://sparklet.sf.net




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/