1al_compose_transform(3) Library Functions Manual al_compose_transform(3)
2
3
4
6 al_compose_transform
7
9 #include <allegro5/allegro.h>
10
11 void al_compose_transform(ALLEGRO_TRANSFORM *trans, const ALLEGRO_TRANSFORM *other)
12
14 Compose (combine) two transformations by a matrix multiplication.
15
16 trans := trans other
17
18 Note that the order of matrix multiplications is important. The effect
19 of applying the combined transform will be as if first applying trans
20 and then applying other and not the other way around.
21
22 Parameters:
23
24 · trans - Transformation to alter
25
26 · other - Transformation used to transform trans
27
28
29
30Allegro reference manual al_compose_transform(3)