get_x_rotate_matrix (3) - Linux Man Pages

get_x_rotate_matrix: Construct X axis rotation matrices. Allegro game programming library.

NAME

get_x_rotate_matrix, get_x_rotate_matrix_f - Construct X axis rotation matrices. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

void get_x_rotate_matrix(MATRIX *m, fixed r);

void get_x_rotate_matrix_f(MATRIX_f *m, float r);

DESCRIPTION

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