X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=7e287ed0d188bab5671461239aae2dfadf107569;hp=079433c9b26172f87f968e39e8db5de2dad97672;hb=eeed8ee2fcc8f6d83cdfffd9543b1351dad1ebfe;hpb=9630fcbe763ed8c935c60a44c0d8ace778383109 diff --git a/scene.c b/scene.c index 079433c..7e287ed 100644 --- a/scene.c +++ b/scene.c @@ -295,10 +295,10 @@ void display() { if ( width > height ) aspect = (float)width / (float)height; gluPerspective( - 90.0, + 75.0, aspect, 0.1, - 100 + 200 ); glMatrixMode(GL_MODELVIEW); @@ -310,7 +310,7 @@ void display() { 0.0, 1.0, 0.0 /* up is in postivie Y direction */ ); - glRotatef(45.0, 1.0, 0.0, 0.0); + glRotatef(75.0, 1.0, 0.0, 0.0); /* Reposition the light source. */ lightPosition[0] = 12*cos(lightAngle);