Added OpenGL includes for Mac OS X
~g2k
This commit is contained in:
@@ -9,7 +9,15 @@
|
|||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#ifdef WIN32
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
|
#endif
|
||||||
|
#ifdef __linux
|
||||||
|
#include <GL/gl.h>
|
||||||
|
#endif
|
||||||
|
#ifdef __APPLE___
|
||||||
|
#include <gl.h>
|
||||||
|
#endif
|
||||||
#include <cstdio> //for file I/O
|
#include <cstdio> //for file I/O
|
||||||
|
|
||||||
#include "mydefs.h"
|
#include "mydefs.h"
|
||||||
|
|||||||
@@ -3,9 +3,17 @@
|
|||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <windows.h> //Remove if possible
|
#include <windows.h> //Remove if possible
|
||||||
#endif
|
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#include <GL/glu.h>
|
#include <GL/glu.h>
|
||||||
|
#endif
|
||||||
|
#ifdef __linux
|
||||||
|
#include <GL/gl.h>
|
||||||
|
#include <GL/glu.h>
|
||||||
|
#endif
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <gl.h>
|
||||||
|
#include <glu.h>
|
||||||
|
#endif
|
||||||
//#include <gl/glaux.h> //Hopefully nothing needs this remove if it works in windows
|
//#include <gl/glaux.h> //Hopefully nothing needs this remove if it works in windows
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "datatypes.h"
|
#include "datatypes.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user