al_rotate_transform
void al_rotate_transform(ALLEGRO_TRANSFORM *trans, float theta)
Introduced in 5.0.0
Apply a rotation to a transformation.
Parameters:
- trans - Transformation to alter
- theta - Rotation angle
See also: al_translate_transform, al_scale_transform, al_build_transform
Examples: ex_gp2xwiz, ex_transform
Most helpful discussions:
- Transform / Translate
- Using Sine And Cosine For Rotation
- git format-patch: troubles with white space trailing
- Transforming
- First person camera using transformations
- Rotating bitmap in local and global axis ?
- Draw a TTF font on it's side?
- How to make a collision box at 360 degrees
- Clipping / Rotation
- How can I map mouse coordinates to world coordinates using allegro transofrms?
Other recent discussions:
- Complications when drawing FPS
- Transformations in allegro
- double precision for al_transform_coordinates?
- Rotate text with transformations
- A5 - Fullscreen in Linux Mint
- Detecting mouseover on isometric map
- al_wait_for_event won't catch the timer.
- Collision Detection with a rotating square.
- Pushing allegro performance (sprites per second) to its limits
- Pointers and arrays.