1al_invert_transform(3) al_invert_transform(3)
2
3
4
6 al_invert_transform - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_invert_transform(ALLEGRO_TRANSFORM *trans)
12
14 Inverts the passed transformation. If the transformation is nearly
15 singular (close to not having an inverse) then the returned transforma‐
16 tion may be invalid. Use al_check_inverse(3) to ascertain if the
17 transformation has an inverse before inverting it if you are in doubt.
18
19 Parameters:
20
21 • trans - Transformation to invert
22
23 Note: Allegro’s transformation inversion functions work correctly on‐
24 ly with 2D transformations.
25
27 al_check_inverse(3)
28
29
30
31Allegro reference manual al_invert_transform(3)