1get_transformation_matrix(3) Allegro manual get_transformation_matrix(3)
2
3
4
6 get_transformation_matrix - Constructs X, Y, Z rotation matrices with
7 an angle and scaling. Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 void get_transformation_matrix(MATRIX *m, fixed scale, fixed xrot,
14 yrot, zrot, x, y, z);
15
17 Constructs a transformation matrix which will rotate points around all
18 three axes by the specified amounts (given in binary, 256 degrees to a
19 circle format), scale the result by the specified amount (pass 1 for no
20 change of scale), and then translate to the requested x, y, z position.
21
22
24 apply_matrix(3), get_rotation_matrix(3), get_scaling_matrix(3),
25 get_translation_matrix(3), ex3d(3), exstars(3)
26
27
28
29Allegro version 4.2.2 get_transformation_matrix(3)