1get_translation_matrix(3)       Allegro manual       get_translation_matrix(3)
2
3
4

NAME

6       get_translation_matrix,  get_translation_matrix_f - Constructs a transā€
7       lation matrix. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void get_translation_matrix(MATRIX *m, fixed x, fixed y, fixed z);
14
15       void get_translation_matrix_f(MATRIX_f *m, float x, float y, float z);
16

DESCRIPTION

18       Constructs a translation matrix, storing it in m. When applied  to  the
19       point  (px,  py,  pz),  this matrix will produce the point (px+x, py+y,
20       pz+z). In other words, it moves things sideways.
21
22

SEE ALSO

24       apply_matrix(3),  get_transformation_matrix(3),   qtranslate_matrix(3),
25       exstars(3)
26
27
28
29Allegro                          version 4.4.3       get_translation_matrix(3)
Impressum