X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=de9a52efef715a0f15e9ca5e61403857ea2575ef;hb=4ef6b7438591d5aab5f403ac1d23641e81d514e0;hp=21a59de7bb2007a3320d48504e7da0888ff2b047;hpb=f9bbaf8dfeeb6265356b3c7cd2d868867351fc6f;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index 21a59de..de9a52e 100644 --- a/scene.c +++ b/scene.c @@ -650,7 +650,7 @@ void display() { /* Draw a yellow ball at the light source. */ glTranslatef(lightPosition[0], lightPosition[1], lightPosition[2]); - glutSolidSphere(1.0, 5, 5); + glutSolidSphere(1.0, 50, 50); glEnable(GL_LIGHTING); glPopMatrix(); @@ -715,7 +715,7 @@ int main(int argc, char **argv) { glClearDepth(1.0f); // Depth Buffer Setup glEnable(GL_DEPTH_TEST); // Enables Depth Testing glDepthFunc(GL_LEQUAL); // the type - glEnable(GL_CULL_FACE); + //glEnable(GL_CULL_FACE); glEnable(GL_TEXTURE_2D); glLineWidth(1.0);