Angular Movement

i'm making a spaceship game.
will be a shooter game.
but i need to make the ship
move as the angle of it.
I want the ship to go to where is pointed.
Confused?
look This:
https://docs.google.com/drawings/d/1HYf0VytMotkVAvvhi_Ajh6d529tYQUeaFJsyO9EEuZU/edit?usp=sharing
so, i need the formula, to do this.
i tried :
1
2
3
4
5
float angle = Angle * (180/ALLEGRO_PI);
    if(angle < 0)
        angle = 360;
X += MoveSpeed * (cos(angle));
Y += MoveSpeed * (sin(angle));

but don't works
cos/sin take the angle in radians, not degrees.
Topic archived. No new replies allowed.