Mac OS X header compatibility.
[grGL.git] / src / glancillary.h
1 #ifndef _GLANCILLARY_H_
2 #define _GLANCILLARY_H_
3
4 #ifdef __APPLE__
5 #include <OpenGL/gl.h>
6 #else
7 #include <GL/gl.h>
8 #endif
9
10 void glaInit(void);
11 void glaCameraRotatef(GLfloat *cmat, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
12 void glaCameraTranslatef(GLfloat *cmat, GLfloat x, GLfloat y, GLfloat z);
13 void glaDrawExample(void);
14
15 #endif