goat3d
view goatview/src/opengl.h @ 90:8b156bc5205b
[maxgoat] fixed the transform export bug
[goatview] added widgets for the animation controls
[goatview] added a grid ground plane with automatic sizing and transitions from size to size
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 17 May 2014 06:26:24 +0300 |
parents | 70b7c41a4f17 |
children | 07c0ec4a410d |
line source
1 #ifndef OPENGL_H_
2 #define OPENGL_H_
4 #include <GL/glew.h>
5 #define QT_NO_OPENGL_ES_2
7 #ifdef WIN32
8 #define WIN32_LEAN_AND_MEAN 1
9 #include <windows.h>
10 #undef min
11 #endif
13 #ifdef __APPLE__
14 #include <OpenGL/gl.h>
15 #include <OpenGL/glu.h>
16 #else
17 #include <GL/gl.h>
18 #include <GL/glu.h>
19 #endif
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 int init_opengl(void);
27 #ifdef __cplusplus
28 }
29 #endif
31 #endif /* OPENGL_H_ */