summaryrefslogtreecommitdiffstats
path: root/progs/glsl/skinning.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/glsl/skinning.c')
-rw-r--r--progs/glsl/skinning.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/glsl/skinning.c b/progs/glsl/skinning.c
index 65ba98348b6..2b96f31d060 100644
--- a/progs/glsl/skinning.c
+++ b/progs/glsl/skinning.c
@@ -16,6 +16,9 @@
#include <GL/glut.h>
#include "shaderutil.h"
+#ifndef M_PI
+#define M_PI 3.1415926535
+#endif
static char *FragProgFile = "skinning.frag";
static char *VertProgFile = "skinning.vert";