1get_x_rotate_quat(3)            Allegro manual            get_x_rotate_quat(3)
2
3
4

NAME

6       get_x_rotate_quat,  get_y_rotate_quat,  get_z_rotate_quat  -  Construct
7       axis rotation quaternions. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void get_x_rotate_quat(QUAT *q, float r);
14
15       void get_y_rotate_quat(QUAT *q, float r);
16
17       void get_z_rotate_quat(QUAT *q, float r);
18

DESCRIPTION

20       Construct axis rotation quaternions, storing them in q. When applied to
21       a  point,  these  quaternions will rotate it about the relevant axis by
22       the specified angle (given in binary, 256 degrees to a circle format).
23
24
25
26
27Allegro                          version 4.4.3            get_x_rotate_quat(3)
Impressum