Fix building of GLSL demos which use M_PI
authorJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 24 Jul 2009 19:33:25 +0000 (20:33 +0100)
committerBrian Paul <brianp@vmware.com>
Mon, 5 Oct 2009 17:07:23 +0000 (11:07 -0600)
commita15d9ca9ccfeebfcea148fc61ead3a70541e2a76
treebf5007c8f39983018309b100b14df2dad5a0bcbe
parent43750f1575e366e2a92b71bffceee90d7f1a2b3e
Fix building of GLSL demos which use M_PI

Some <math.h> files do not define M_PI, in which case, provide our own definition

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
progs/glsl/skinning.c
progs/glsl/texaaline.c
progs/glsl/twoside.c