chickadee » allegro » math

Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.

If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

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

fix-to-rad integerprocedure

Implements al_fixtorad_r.

rad-to-fix integerprocedure

Implements al_radtofix_r.

fixed-sqrt integerprocedure

Implements al_fixsqrt.

fixed-hypot integerprocedure

Implements al_fixhypot.

fixed-atan integerprocedure

Implements al_fixatan.

fixed-atan2 integerprocedure

Implements al_fixatan2.

fixed-cos integerprocedure

Wraps _al_fix_cos_tbl.

fixed-tan integerprocedure

Wraps _al_fix_tan_tbl.

fixed-acos integerprocedure

Wraps _al_fix_acos_tbl.

Contents »