.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_fixtorad_r" "3" "" "Allegro reference manual" .SH NAME al_fixtorad_r \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] const al_fixed al_fixtorad_r = (al_fixed)1608; .EE .SH DESCRIPTION This constant gives a ratio which can be used to convert a fixed point number in binary angle format to a fixed point number in radians. .PP Example: .IP .EX al_fixed rad_angle, binary_angle; \f[I]/* Set the binary angle to 90 degrees. */\f[R] binary_angle = 64; \f[I]/* Now convert to radians (about 1.57). */\f[R] rad_angle = al_fixmul(binary_angle, al_fixtorad_r); .EE .SH SEE ALSO al_fixmul(3), al_radtofix_r(3).