gpuray_glsl
annotate src/opengl.h @ 2:6e3a4daf3159
adding cones
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Sun, 09 Nov 2014 14:39:01 +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_ |