X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=ed890af35fe440269153271b71b549142466f5b3;hp=61fe5934d9996f6c1ee7f075d024525cd48ff645;hb=6765c17f08aa0906c58df2948d714dc639cbeac0;hpb=1b273f48f9ea7ae8ef48a052311e913a115ca1a3 diff --git a/scene.c b/scene.c index 61fe593..ed890af 100644 --- a/scene.c +++ b/scene.c @@ -418,8 +418,8 @@ int main(int argc, char **argv) { /* aspect ratio */ 1.0, /* Z near */ 20.0, /* Z far */ 300.0); 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) */ + gluLookAt(0.0, 35.0, 60.0, /* eye is at (0,8,60) */ + 0.0, 0.0, 0.0, /* center is at (0,8,0) */ 0.0, 1.0, 0.); /* up is in postivie Y direction */ glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);