Link to home
Start Free TrialLog in
Avatar of yyyannag
yyyannag

asked on

rotating problem

I want to rotate an object.
I have found a way to do that but I need a
formula that gets an angle out of the sin() or cos()
of it.
( I have the angle (a) and I want to find the X ->  
  sin(X) = a )
ASKER CERTIFIED SOLUTION
Avatar of scrapdog
scrapdog
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I made I typo in my answer!! Change this line:


      Sprite[i,j] := OldSprite[nx,ny];

to this:


      NewSprite[i,j] := OldSprite[nx,ny];
Avatar of yyyannag
yyyannag

ASKER

Thanks for the formula, it was very helpful