get_z_rotate_matrix_f(3) Construct Z axis rotation matrices. Allegro game programming library.

Other Alias

get_z_rotate_matrix

SYNOPSIS

#include <allegro.h>

void get_z_rotate_matrix(MATRIX *m, fixed r);

void get_z_rotate_matrix_f(MATRIX_f *m, float r);

DESCRIPTION

Construct Z axis rotation matrices, storing them in m. When applied to a point, these matrices will rotate it about the Z axis by the specified angle (given in binary, 256 degrees to a circle format).