Constant to convert radians to fixed point angles.


extern const fixed radtofix_r;
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:

Related Projects

The following projects include source code containing this keyword: