1al_radtofix_r(3)                                              al_radtofix_r(3)
2
3
4

NAME

6       al_radtofix_r - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              const al_fixed al_radtofix_r = (al_fixed)2670177;
12

DESCRIPTION

14       This  constant gives a ratio which can be used to convert a fixed point
15       number in radians to a fixed point number in binary angle format.
16
17       Example:
18
19                  al_fixed rad_angle, binary_angle;
20                  ...
21                  binary_angle = al_fixmul(rad_angle, radtofix_r);
22

SEE ALSO

24       al_fixmul(3), al_fixtorad_r(3).
25
26
27
28Allegro reference manual                                      al_radtofix_r(3)
Impressum