get_x_rotate_quat - Man Page

Construct axis rotation quaternions. Allegro game programming library.

Synopsis

#include <allegro.h>

void get_x_rotate_quat(QUAT *q, float r);

void get_y_rotate_quat(QUAT *q, float r);

void get_z_rotate_quat(QUAT *q, float r);

Description

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

Referenced By

The man pages get_y_rotate_quat(3) and get_z_rotate_quat(3) are aliases of get_x_rotate_quat(3).

version 4.4.3 Allegro manual