defining M_PI to fix some compiler errors on OSX 10.8

fixes #44
This commit is contained in:
manuelk 2012-12-11 13:50:27 -08:00
parent 754d7869b8
commit 419741442d

View File

@ -55,6 +55,10 @@
// a particular purpose and non-infringement.
//
#ifndef M_PI
#define M_PI 3.14159265358979323846 // fix for OSX 10.8 (M_PI is in the Khronos standard...)
#endif
struct Vertex
{
float v[NUM_VERTEX_ELEMENTS];