get_translation_matrix, get_translation_matrix_f - Constructs a translation matrix. Allegro game
Contents
Description
Constructs a translation matrix, storing it in m. When applied to the point (px, py, pz), this matrix
will produce the point (px+x, py+y, pz+z). In other words, it moves things sideways.
Name
get_translation_matrix, get_translation_matrix_f - Constructs a translation matrix. Allegro game
programming library.
See Also
apply_matrix(3alleg4), get_transformation_matrix(3alleg4), qtranslate_matrix(3alleg4), exstars(3alleg4) Allegro version 4.4.3 get_translation_matrix(3alleg4)
Synopsis
#include<allegro.h>voidget_translation_matrix(MATRIX*m,fixedx,fixedy,fixedz);voidget_translation_matrix_f(MATRIX_f*m,floatx,floaty,floatz);
