Query: get_translation_matrix
OS: opendarwin
Section: 3alleg4
Links: opendarwin man pages all man pages forum categories
Format:Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
get_translation_matrix(3alleg4) Allegro manual get_translation_matrix(3alleg4)NAMEget_translation_matrix, get_translation_matrix_f - 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);DESCRIPTIONConstructs 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 ALSOapply_matrix(3alleg4), get_transformation_matrix(3alleg4), qtranslate_matrix(3alleg4), exstars(3alleg4) Allegro version 4.4.2 get_translation_matrix(3alleg4)