.\" Generated by the Allegro makedoc utility .TH fixtorad_r 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME fixtorad_r \- Constant to convert angles in fixed point format to radians. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B extern const fixed fixtorad_r; .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. Example: .nf fixed rad_angle, binary_angle; /* Set the binary angle to 90 degrees. */ binary_angle = 64; /* Now convert to radians (about 1.57). */ rad_angle = fixmul(binary_angle, fixtorad_r); .fi .SH SEE ALSO .BR fixmul (3alleg4), .BR radtofix_r (3alleg4)