From: Ash Tyndall Date: Tue, 18 Oct 2011 07:02:46 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a347efb639093bd2cc136259aabe0ae8153df5eb;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 */