1get_scaling_matrix(3) Allegro manual get_scaling_matrix(3)
2
3
4
6 get_scaling_matrix, get_scaling_matrix_f - Constructs a scaling matrix.
7 Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 void get_scaling_matrix(MATRIX *m, fixed x, fixed y, fixed z);
14
15 void get_scaling_matrix_f(MATRIX_f *m, float x, float y, float z);
16
18 Constructs a scaling matrix, storing it in m. When applied to the point
19 (px, py, pz), this matrix will produce the point (px*x, py*y, pz*z). In
20 other words, it stretches or shrinks things.
21
22
24 apply_matrix(3), get_transformation_matrix(3), qscale_matrix(3)
25
26
27
28Allegro version 4.2.2 get_scaling_matrix(3)