From: Ash Tyndall Date: Tue, 18 Oct 2011 07:12:19 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=bf2accaa2aadac8e1d5d1d4d8457e76480eedf6f;hp=b90a447485c9d91f874d1ef734d122c889cea772 --- diff --git a/scene.c b/scene.c index 784de85..bad6fa2 100644 --- a/scene.c +++ b/scene.c @@ -588,12 +588,12 @@ void init() { 900.0 /* Z far */ ); - glMatrixMode(GL_MODELVIEW); - //gluLookAt( - // 0.0, 8.0, 60.0, /* eye is at (0,8,60) */ - // 0.0, 8.0, 0.0, /* center is at (0,8,0) */ - // 0.0, 1.0, 0.0 /* up is in postivie Y direction */ - // ); + //glMatrixMode(GL_MODELVIEW); + gluLookAt( + 0.0, 8.0, 60.0, /* eye is at (0,8,60) */ + 0.0, 8.0, 0.0, /* center is at (0,8,0) */ + 0.0, 1.0, 0.0 /* up is in postivie Y direction */ + ); glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, 1); glLightfv(GL_LIGHT0, GL_DIFFUSE, lightColor);