> > void
> > rotate(x,y,*_x,*_y,angle)
> > {
> >   *x = ( cos(angle) * x) + (sin(angle) * y);
> >   *y = (-sin(angle) * x) + (cos(angle) * y);
> > }
> 
> I don't really understand the above algorithm

sorry, that should have read:

> *_x = ( cos(angle) * x) + (sin(angle) * y);
> *_y = (-sin(angle) * x) + (cos(angle) * y);

new co-ordinates = value based on old co-ordinates

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to