diff options
author | Alexey Sokolov <[email protected]> | 2008-01-22 07:42:40 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-01-22 07:42:40 -0700 |
commit | 30c65c3c62b4cbe3ba9a79db2b0ed8248072047d (patch) | |
tree | 9e18b29fc3ece6ae30bea48abf1c67755a29a6cd /progs/demos | |
parent | 04fcc4cf1ef08121ef86596c6751abb16c8c564f (diff) |
define M_PI if needed
Diffstat (limited to 'progs/demos')
-rw-r--r-- | progs/demos/engine.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/demos/engine.c b/progs/demos/engine.c index 143b02a8894..68c4d500dfa 100644 --- a/progs/demos/engine.c +++ b/progs/demos/engine.c @@ -16,6 +16,10 @@ #include "trackball.h" +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + #define DEG_TO_RAD(DEG) ((DEG) * M_PI / 180.0) #define TEXTURE_FILE "../images/reflect.rgb" |