Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
radtofix_r(3)			Allegro	manual			 radtofix_r(3)

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. Exam-
       ple:

	  fixed	rad_angle, binary_angle;
	  ...
	  binary_angle = fixmul(rad_angle, radtofix_r);

SEE ALSO
       fixmul(3), fixtorad_r(3)

Allegro				 version 4.4.3			 radtofix_r(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=radtofix_r&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help