goat3d

annotate 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
rev   line source
nuclear@81 1 #ifndef OPENGL_H_
nuclear@81 2 #define OPENGL_H_
nuclear@81 3
nuclear@81 4 #include <GL/glew.h>
nuclear@82 5 #define QT_NO_OPENGL_ES_2
nuclear@81 6
nuclear@81 7 #ifdef WIN32
nuclear@89 8 #define WIN32_LEAN_AND_MEAN 1
nuclear@81 9 #include <windows.h>
nuclear@89 10 #undef min
nuclear@81 11 #endif
nuclear@81 12
nuclear@81 13 #ifdef __APPLE__
nuclear@81 14 #include <OpenGL/gl.h>
nuclear@81 15 #include <OpenGL/glu.h>
nuclear@81 16 #else
nuclear@81 17 #include <GL/gl.h>
nuclear@81 18 #include <GL/glu.h>
nuclear@81 19 #endif
nuclear@81 20
nuclear@81 21 #ifdef __cplusplus
nuclear@81 22 extern "C" {
nuclear@81 23 #endif
nuclear@81 24
nuclear@81 25 int init_opengl(void);
nuclear@81 26
nuclear@81 27 #ifdef __cplusplus
nuclear@81 28 }
nuclear@81 29 #endif
nuclear@81 30
nuclear@82 31 #endif /* OPENGL_H_ */