You are looking at historical revision 28713 of this page. It may differ significantly from its current revision.

allegro

This document pertains to math related methods found in the Allegro egg.

Please see the main [allegro] wiki page for more information.

Functions

Fixed Math

[procedure] (fix-to-rad integer)

Implements al_fixtorad_r.

[procedure] (rad-to-fix integer)

Implements al_radtofix_r.

[procedure] (fixed-sqrt integer)

Implements al_fixsqrt.

[procedure] (fixed-hypot integer)

Implements al_fixhypot.

[procedure] (fixed-atan integer)

Implements al_fixatan.

[procedure] (fixed-atan2 integer)

Implements al_fixatan2.

[procedure] (fixed-cos integer)

Wraps _al_fix_cos_tbl.

[procedure] (fixed-tan integer)

Wraps _al_fix_tan_tbl.

[procedure] (fixed-acos integer)

Wraps _al_fix_acos_tbl.