36 files changed, 332 insertions, 176 deletions
diff --git a/src/controller/callbacks/display.c b/src/controller/callbacks/display.c new file mode 100644 index 0000000..68211b5 --- a/dev/null +++ b/src/controller/callbacks/display.c @@ -0,0 +1,13 @@ +#include "display.h" +#include "../../view/exp004geometry.h" +#include <GL/glut.h> + +void +display (void) +{ + glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + exp004geometry (GL_RENDER); + glutSwapBuffers (); + + return; +} |