radtofix_r(3alleg4)

radtofix_r3alleg4

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

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.