X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=d01535d2529cddf809b5aa79b87c1f330ae8d7ed;hb=a347efb639093bd2cc136259aabe0ae8153df5eb;hp=d57b28e3b663ab3c0bc336f117c6de2bafb5db8f;hpb=e852b2a92a9e2878e944f1fc560595f8db4c9bb7;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index d57b28e..d01535d 100644 --- a/scene.c +++ b/scene.c @@ -529,7 +529,7 @@ drawFloor(void) static GLfloat lightColor[] = {1.0, 1.0, 1.0, 1.0}; /* green-tinted */ static GLfloat lightPosition[4]; -static float lightAngle = 0.0, lightHeight = 20; +static float lightAngle = 10.0, lightHeight = 20; /** @@ -582,7 +582,7 @@ void init() { glMatrixMode(GL_PROJECTION); gluPerspective( - 180.0, /* field of view in degree */ + 60.0, /* field of view in degree */ 1.0, /* aspect ratio */ 0.0, /* Z near */ 900.0 /* Z far */