al_identity_transform
void al_identity_transform(ALLEGRO_TRANSFORM *trans)
Introduced in 5.0.0
Sets the transformation to be the identity transformation.
Parameters:
- trans - Transformation to alter
See also: al_translate_transform, al_rotate_transform, al_scale_transform
Examples: ex_gp2xwiz, ex_prim, ex_transform
Most helpful discussions:
- [a5] best way to scale/stretch screen? (2)
- Just bored... ;) (1)
- [A5] Copying a bitmap from a transformed screen (1)
- Draw to second screen to ZOOM 2X (1)
- FPS camera in Allegro 5
- Complications when drawing FPS
- Setting up projection and camera matrices correctly for bitmaps in 3D
- Creating sub-bitmap of locked bitmap
- [A5] Drawing a textured trapezoid (2D)
- Transformations in allegro
Other recent discussions:
- Is composing horz + vert shear the same thing as shearing both?
- double precision for al_transform_coordinates?
- I don't understand how scrolling works
- Scaling doesn't work with transformation.
- Resizing the game
- Rotate text with transformations
- All bullets firing when I press my fire key
- 3D with Allegro 5
- Combining Allegro 5.1.8 with OpenGL culling problems
- rotating animated sprites