1al_compose_transform(3) al_compose_transform(3)
2
3
4
6 al_compose_transform - Allegro 5 API
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
29 al_translate_transform(3), al_rotate_transform(3), al_scale_trans‐
30 form(3)
31
32
33
34Allegro reference manual al_compose_transform(3)