From 0e3edb12fed934c0d041563c98c2d04088ee3ae5 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Tue, 18 Oct 2011 20:17:00 +0800 Subject: [PATCH 1/1] --- scene.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scene.c b/scene.c index 1e89dc7..66c7e1d 100644 --- a/scene.c +++ b/scene.c @@ -612,11 +612,11 @@ drawSquare(0, -1000.0, -1000.0, 1000.0, 1000.0); void display() { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glLoadIdentity(); - //gluLookAt( - // 0.0, 0.0, 30.0, /* eye is at (x,y,z) */ - // 0.0, 0.0, 0.0, /* center is at (x,y,z) */ - // 0.0, 1.0, 0.0 /* up is in postivie Y direction */ - // ); + gluLookAt( + 043.0, 52.0, 80.0, /* eye is at (x,y,z) */ + 04.0, 456.0, 480, /* center is at (x,y,z) */ + 04.0, 1.0, 60.0 /* up is in postivie Y direction */ + ); glRotatef(30.0, 1.0, 0.0, 0.0); -- 2.20.1