-rw-r--r-- | src/controller/exp004reshape.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/controller/exp004reshape.c b/src/controller/exp004reshape.c index f3d7098..4d46223 100644 --- a/src/controller/exp004reshape.c +++ b/src/controller/exp004reshape.c @@ -1,7 +1,7 @@ #include "exp004reshape.h" +#include "set_ortho.h" #include "../view/exp004state0.h" #include <GL/glut.h> -#include <stdio.h> #define S exp004state0 @@ -41,16 +41,7 @@ exp004reshape (int w, int h) S.ortho_max; } - gluOrtho2D(S.ortho.min_x, - S.ortho.max_x, - S.ortho.min_y, - S.ortho.max_y); - - printf ("Ortho: %f %f %f %f\n", - S.ortho.min_x, - S.ortho.max_x, - S.ortho.min_y, - S.ortho.max_y); + set_ortho (); glMatrixMode (GL_MODELVIEW); |