29 files changed, 1185 insertions, 0 deletions
diff --git a/src/controller/exp004display.c b/src/controller/exp004display.c new file mode 100644 index 0000000..e893ad6 --- a/dev/null +++ b/src/controller/exp004display.c | |||
@@ -0,0 +1,16 @@ | |||
1 | #include "exp004display.h" | ||
2 | #include "../view/exp004geometry.h" | ||
3 | #include <GL/glut.h> | ||
4 | #include <stdio.h> | ||
5 | |||
6 | #define WINHEIGHT 500 | ||
7 | |||
8 | void | ||
9 | exp004display (void) | ||
10 | { | ||
11 | glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); | ||
12 | exp004geometry (GL_RENDER); | ||
13 | glutSwapBuffers (); | ||
14 | |||
15 | return; | ||
16 | } | ||