summaryrefslogtreecommitdiffstats
path: root/progs/demos
diff options
context:
space:
mode:
authorJulien Cristau <[email protected]>2008-02-22 12:09:35 +0100
committerJulien Cristau <[email protected]>2008-02-22 12:09:35 +0100
commit9291506af0eff4ced0216a67b727ec6a4e043cce (patch)
treee091383bb429bd4252f4f06dcbbb6288330793d6 /progs/demos
parent67617c8f89c06b6804d65db1380b00853b97c254 (diff)
parent4716670de9d6c396883d1d7df2831efdc5362bdd (diff)
Merge branch 'mesa_7_0_branch' of git.freedesktop.org:/git/mesa/mesa into debian-unstable
Conflicts: src/glx/mini/Makefile
Diffstat (limited to 'progs/demos')
-rw-r--r--progs/demos/engine.c4
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"