-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 @@ | |||
1 | #include "exp004reshape.h" | 1 | #include "exp004reshape.h" |
2 | #include "set_ortho.h" | ||
2 | #include "../view/exp004state0.h" | 3 | #include "../view/exp004state0.h" |
3 | #include <GL/glut.h> | 4 | #include <GL/glut.h> |
4 | #include <stdio.h> | ||
5 | 5 | ||
6 | #define S exp004state0 | 6 | #define S exp004state0 |
7 | 7 | ||
@@ -41,16 +41,7 @@ exp004reshape (int w, int h) | |||
41 | S.ortho_max; | 41 | S.ortho_max; |
42 | } | 42 | } |
43 | 43 | ||
44 | gluOrtho2D(S.ortho.min_x, | 44 | set_ortho (); |
45 | S.ortho.max_x, | ||
46 | S.ortho.min_y, | ||
47 | S.ortho.max_y); | ||
48 | |||
49 | printf ("Ortho: %f %f %f %f\n", | ||
50 | S.ortho.min_x, | ||
51 | S.ortho.max_x, | ||
52 | S.ortho.min_y, | ||
53 | S.ortho.max_y); | ||
54 | 45 | ||
55 | glMatrixMode (GL_MODELVIEW); | 46 | glMatrixMode (GL_MODELVIEW); |
56 | 47 | ||