Re: [AD] C++ fix math

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Why is there a cos function (as opposed to fixcos or something
> similar) ? Is it to allow one to template something using
> either float or fix or double ?

It's simply one of the most sexy feature of C++: function overloading.

- Eric



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/