X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=scene.c;h=3d7dcd3d490aed938e1c9948038e4e8fa58bec59;hb=4db627cb2b67a5fd49b65b2b8cde754deeddf3e3;hp=a7965438f5cff2e1a6588be47718743663f9da32;hpb=66ac3dee15c36c09cb7cb49ffec82640f8ea500a;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index a796543..3d7dcd3 100644 --- a/scene.c +++ b/scene.c @@ -291,14 +291,14 @@ void display() { 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 */ + 0.0, 1.0, 0.0 /* up is in postivie Y direction */ ); glTranslatef(camx, camy, camz); // **NOTE: Currently this rotation function is all that moves the camera off // the flat surface. Need to integrate function into gluLookAt - glRotatef(50.0, 1.0, 0.0, 0.0); + glRotatef(30.0, 1.0, 0.0, 0.0); /* Reposition the light source. */ lightPosition[0] = 12*cos(lightAngle);