get_translation_matrix - Man Page

Constructs a translation matrix. Allegro game programming library.

Synopsis

#include <allegro.h>

void get_translation_matrix(MATRIX *m, fixed x, fixed y, fixed z);

void get_translation_matrix_f(MATRIX_f *m, float x, float y, float z);

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.

See Also

apply_matrix(3), get_transformation_matrix(3), qtranslate_matrix(3), exstars(3)

Referenced By

exscn3d(3), exstars(3), get_transformation_matrix(3), qtranslate_matrix(3).

The man page get_translation_matrix_f(3) is an alias of get_translation_matrix(3).

version 4.4.3 Allegro manual