get_z_rotate_matrix, get_z_rotate_matrix_f
Construct Z axis rotation matrices. Allegro game programming library.
- Provided by: allegro4-doc (Version: 2:4.4.3.1-4.1build3)
- Source: allegro4.4
- Report a bug
Construct Z axis rotation matrices. Allegro game programming library.
#include <allegro.h>
void get_z_rotate_matrix(MATRIX *m, fixed r);
void get_z_rotate_matrix_f(MATRIX_f *m, float r);
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).
apply_matrix(3alleg4), get_rotation_matrix(3alleg4), get_x_rotate_matrix(3alleg4), get_y_rotate_matrix(3alleg4)