Re: [AD] SF.net SVN: alleg:[11683] allegro/branches/4.9

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


-#define AL_PI        3.14159265358979323846
+#define ALLEGRO_PI        3.14159265358979323846

Just one small nit to pick: it should probably by set to M_PI if that is defined, eg

#ifdef M_PI
#define ALLEGRO_PI M_PI
#else
#define ALLEGRO_PI 22./7. // ;)
#endif

although in practice it probably doesn't matter that much.

Evert




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