X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=bad6fa2da8ec8dcd0ec192fcccc9f227ffb35b63;hp=784de854216473b6bb007827626562bc017aea36;hb=bf2accaa2aadac8e1d5d1d4d8457e76480eedf6f;hpb=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);