SIMPLE SOLUTIONS

RADTOFIX_R(3ALLEG4) - man page online | library functions

Constant to convert radians to fixed point angles. Allegro game programming library.

Chapter
version 4.4.2
radtofix_r(3alleg4)                       Allegro manual                      radtofix_r(3alleg4)

NAME

radtofix_r - Constant to convert radians to fixed point angles. Allegro game programming library.

SYNOPSIS

#include <allegro.h> extern const fixed radtofix_r;

DESCRIPTION

This constant gives a ratio which can be used to convert a fixed point number in radians to a fixed point number in binary angle format. Example: fixed rad_angle, binary_angle; ... binary_angle = fixmul(rad_angle, radtofix_r);

SEE ALSO

fixmul(3alleg4), fixtorad_r(3alleg4)
Allegro version 4.4.2 radtofix_r(3alleg4)
This manual Reference Other manuals
radtofix_r(3alleg4) referred by fixtorad_r(3alleg4)
refer to fixmul(3alleg4) | fixtorad_r(3alleg4)