(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index a2fbea6..9a803cb 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -466,12 +466,12 @@ void display() {
 \r
     glPushMatrix();\r
       glTranslatef(lightPosition0[0], lightPosition0[1], lightPosition0[2]);\r
 \r
     glPushMatrix();\r
       glTranslatef(lightPosition0[0], lightPosition0[1], lightPosition0[2]);\r
-      glutSolidSphere(0.5, 50, 50);\r
+      glutSolidSphere(lightBallSize, 20, 20);\r
     glPopMatrix();\r
 \r
     glPushMatrix();\r
       glTranslatef(lightPosition1[0], lightPosition1[1], lightPosition1[2]);\r
     glPopMatrix();\r
 \r
     glPushMatrix();\r
       glTranslatef(lightPosition1[0], lightPosition1[1], lightPosition1[2]);\r
-      glutSolidSphere(0.5, 50, 50);\r
+      glutSolidSphere(lightBallSize, 20, 20);\r
     glPopMatrix();\r
 \r
     glEnable(GL_LIGHTING);\r
     glPopMatrix();\r
 \r
     glEnable(GL_LIGHTING);\r

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