From: Ash Tyndall Date: Fri, 21 Oct 2011 08:54:25 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=df7b6992b2b9039e442d7265bc18e189ad6d1f87;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index bb4b815..52c837b 100644 --- a/scene.c +++ b/scene.c @@ -407,7 +407,7 @@ void init() { glLightfv(GL_LIGHT0, GL_SPECULAR, specular0); glLightfv(GL_LIGHT0, GL_SPOT_DIRECTION, direction0); - glLightf(GL_LIGHT0, GL_SPOT_CUTOFF, 90.0); + glLightf(GL_LIGHT0, GL_SPOT_CUTOFF, 45.0); glLighti(GL_LIGHT0, GL_SPOT_EXPONENT,10); glLightfv(GL_LIGHT1, GL_AMBIENT, ambient1); @@ -415,7 +415,7 @@ void init() { glLightfv(GL_LIGHT1, GL_SPECULAR, specular1); glLightfv(GL_LIGHT1, GL_SPOT_DIRECTION, direction1); - glLightf(GL_LIGHT1, GL_SPOT_CUTOFF, 90.0); + glLightf(GL_LIGHT1, GL_SPOT_CUTOFF, 45.0); glLighti(GL_LIGHT1, GL_SPOT_EXPONENT,10); glLightModelfv(GL_LIGHT_MODEL_AMBIENT, glightmodel);