summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--src/controller/exp004reshape.c13
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>
55
6#define S exp004state06#define S exp004state0
77
@@ -41,16 +41,7 @@ exp004reshape (int w, int h)
41 S.ortho_max;41 S.ortho_max;
42 }42 }
4343
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);
5445
55 glMatrixMode (GL_MODELVIEW);46 glMatrixMode (GL_MODELVIEW);
5647

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.