qscale_matrix man page

qscale_matrix, qscale_matrix_f — Optimised routine for scaling an already generated matrix. Allegro game programming library.

Synopsis

#include <allegro.h>

void qscale_matrix(MATRIX *m, fixed scale);

void qscale_matrix_f(MATRIX_f *m, float scale);

Description

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

See Also

get_scaling_matrix(3)

Referenced By

get_scaling_matrix(3).

qscale_matrix_f(3) is an alias of qscale_matrix(3).

version 4.4.2 Allegro Allegro manual