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

NAME

6       get_vector_rotation_quat  -  Constructs  a  quaternion to rotate points
7       around a vector. Allegro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void get_vector_rotation_quat(QUAT *q, float x, y, z, float a);
14

DESCRIPTION

16       Constructs a quaternion that will rotate points  around  the  specified
17       x,y,z  vector by the specified angle (given in binary, 256 degrees to a
18       circle format).
19
20
21
22
23Allegro                          version 4.4.2     get_vector_rotation_quat(3)
Impressum