(no commit message)
authorAsh Tyndall <git@atyndall.net>
Fri, 21 Oct 2011 08:53:20 +0000 (16:53 +0800)
committerAsh Tyndall <git@atyndall.net>
Fri, 21 Oct 2011 08:53:20 +0000 (16:53 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 17baeb0..bb4b815 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -407,7 +407,7 @@ void init() {
   glLightfv(GL_LIGHT0, GL_SPECULAR, specular0);\r
   glLightfv(GL_LIGHT0, GL_SPOT_DIRECTION, direction0);\r
 \r
-  //glLightf(GL_LIGHT0, GL_SPOT_CUTOFF, 90.0);\r
+  glLightf(GL_LIGHT0, GL_SPOT_CUTOFF, 90.0);\r
   glLighti(GL_LIGHT0, GL_SPOT_EXPONENT,10);\r
 \r
   glLightfv(GL_LIGHT1, GL_AMBIENT, ambient1);\r
@@ -415,7 +415,7 @@ void init() {
   glLightfv(GL_LIGHT1, GL_SPECULAR, specular1);\r
   glLightfv(GL_LIGHT1, GL_SPOT_DIRECTION, direction1);\r
 \r
-  //glLightf(GL_LIGHT1, GL_SPOT_CUTOFF, 90.0);\r
+  glLightf(GL_LIGHT1, GL_SPOT_CUTOFF, 90.0);\r
   glLighti(GL_LIGHT1, GL_SPOT_EXPONENT,10);\r
 \r
   glLightModelfv(GL_LIGHT_MODEL_AMBIENT, glightmodel);\r

UCC git Repository :: git.ucc.asn.au