X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=3bda9b42afdb3c4f77f2079cfa04766b448992da;hb=519f453dab3dd31341d4dc2e6e1ae4f3beac977c;hp=19d74aff69cbb925e13e62bde38627b8e6c9aefd;hpb=751a7ad384e80669e71e8e5613227ac450c71944;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index 19d74af..3bda9b4 100644 --- a/scene.c +++ b/scene.c @@ -370,18 +370,18 @@ void display() { // Draw a white ball over the light source glPushMatrix(); glDisable(GL_LIGHTING); - glColor3f(1.0, 1.0, 0.0); + glColor3f(1.0, 1.0, 1.0); glTranslatef(lightPosition0[0], lightPosition0[1], lightPosition0[2]); - glutSolidSphere(1.0, 50, 50); + glutSolidSphere(0.5, 50, 50); glEnable(GL_LIGHTING); glPopMatrix(); // Draw a white ball over the light source glPushMatrix(); glDisable(GL_LIGHTING); - glColor3f(1.0, 1.0, 0.0); + glColor3f(1.0, 1.0, 1.0); glTranslatef(lightPosition1[0], lightPosition1[1], lightPosition1[2]); - glutSolidSphere(1.0, 50, 50); + glutSolidSphere(0.5, 50, 50); glEnable(GL_LIGHTING); glPopMatrix();