From: Ash Tyndall Date: Fri, 21 Oct 2011 03:37:56 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=92fbf793e39627632747a84aeaf9653e13fdb8e3;ds=sidebyside --- diff --git a/scene.c b/scene.c index 19d74af..8489282 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(0.0, 0.0, 0.0); glTranslatef(lightPosition0[0], lightPosition0[1], lightPosition0[2]); - glutSolidSphere(1.0, 50, 50); + glutSolidSphere(0.3, 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(0.0, 0.0, 0.0); glTranslatef(lightPosition1[0], lightPosition1[1], lightPosition1[2]); - glutSolidSphere(1.0, 50, 50); + glutSolidSphere(0.3, 50, 50); glEnable(GL_LIGHTING); glPopMatrix();