radtofix_r(3alleg)

radtofix_r3alleg

Constant to convert radians to fixed point angles. allegro game programming library.

Usage

#include <allegro.h>

extern const fixed radtofix_r;

Overview

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

Releases

4 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1
  2. 4.0
  3. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.