qtranslate_matrix man page

qtranslate_matrix, qtranslate_matrix_f — Optimised routine for translating an already generated matrix. Allegro game programming library.

Synopsis

#include <allegro.h>

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

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

Description

Optimised routine for translating an already generated matrix: this simply adds in the translation offset, so there is no need to build two temporary matrices and then multiply them together.

See Also

get_translation_matrix(3)

Referenced By

get_translation_matrix(3).

qtranslate_matrix_f(3) is an alias of qtranslate_matrix(3).

version 4.4.2 Allegro Allegro manual