gpuray_glsl
annotate src/opengl.h @ 5:000017955721
fixed the cone normal
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 11 Nov 2014 20:25:59 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef OPENGL_H_ |
nuclear@0 | 2 #define OPENGL_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include <GL/glew.h> |
nuclear@0 | 5 |
nuclear@0 | 6 #ifndef __APPLE__ |
nuclear@0 | 7 #include <GL/glut.h> |
nuclear@0 | 8 #else |
nuclear@0 | 9 #include <GLUT/glut.h> |
nuclear@0 | 10 #endif |
nuclear@0 | 11 |
nuclear@0 | 12 int next_pow2(int x); |
nuclear@0 | 13 |
nuclear@0 | 14 #endif // OPENGL_H_ |