#include <GL/glut.h>
Go to the source code of this file.
Functions | |
| void | display (void) |
| void | drawBox (void) |
| void | init (void) |
| int | main (int argc, char **argv) |
Variables | |
| GLint | faces [6][4] |
| GLfloat | light_diffuse [] = {1.0, 0.0, 0.0, 1.0} |
| GLfloat | light_position [] = {1.0, 1.0, 1.0, 0.0} |
| GLfloat | n [6][3] |
| GLfloat | v [8][3] |
| GLint faces[6][4] |
| GLfloat light_diffuse[] = {1.0, 0.0, 0.0, 1.0} |
| GLfloat light_position[] = {1.0, 1.0, 1.0, 0.0} |
| int n |