get_scaling_matrix man page

get_scaling_matrix, get_scaling_matrix_f — Constructs a scaling matrix. Allegro game programming library.


#include <allegro.h>

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

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


Constructs a scaling 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 stretches or shrinks things.

See Also

apply_matrix(3), get_transformation_matrix(3), qscale_matrix(3)

Referenced By

get_transformation_matrix(3), qscale_matrix(3).

Explore man page connections for get_scaling_matrix(3).

get_scaling_matrix_f(3) is an alias of get_scaling_matrix(3).

Allegro version 4.4.2 Allegro manual