1al_identity_transform(3) al_identity_transform(3)
2
3
4
6 al_identity_transform - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_identity_transform(ALLEGRO_TRANSFORM *trans)
12
14 Sets the transformation to be the identity transformation. This is the
15 default transformation. Use al_use_transform(3) on an identity trans‐
16 formation to return to the default.
17
18 ALLEGRO_TRANSFORM t;
19 al_identity_transform(&t);
20 al_use_transform(&t);
21
22 Parameters:
23
24 · trans - Transformation to alter
25
27 al_translate_transform(3), al_rotate_transform(3), al_scale_trans‐
28 form(3)
29
30
31
32Allegro reference manual al_identity_transform(3)