Provided by: allegro4-doc_4.4.3.1-4.1build3_all
NAME
get_transformation_matrix - Constructs X, Y, Z rotation matrices with an angle and scaling. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void get_transformation_matrix(MATRIX *m, fixed scale, fixed xrot, yrot, zrot, x, y, z);
DESCRIPTION
Constructs a transformation matrix which will rotate points around all three axes by the specified amounts (given in binary, 256 degrees to a circle format), scale the result by the specified amount (pass 1 for no change of scale), and then translate to the requested x, y, z position.
SEE ALSO
apply_matrix(3alleg4), get_rotation_matrix(3alleg4), get_scaling_matrix(3alleg4), get_translation_matrix(3alleg4), ex3d(3alleg4), exstars(3alleg4)