logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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);

Name

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

See Also

fixmul(3alleg4), fixtorad_r(3alleg4)

Allegro                                           version 4.4.3                              radtofix_r(3alleg4)

Synopsis

#include<allegro.h>externconstfixedradtofix_r;

See Also