define M_PI if needed
This commit is contained in:
parent
d0774eae30
commit
e58c365cda
|
@ -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"
|
||||
|
|
|
@ -26,6 +26,10 @@
|
|||
#include "ipc.h"
|
||||
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
static int MyID = 0; /* 0 or 1 */
|
||||
static int WindowID = 0;
|
||||
static GLXContext Context = 0;
|
||||
|
|
Loading…
Reference in New Issue