X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=16bd2fb43a80e3a5f5cf54befe49d003159b1d3e;hb=a6ded21f45ac6b4c46f9358f291e3c70566ded0f;hp=de9a52efef715a0f15e9ca5e61403857ea2575ef;hpb=4ef6b7438591d5aab5f403ac1d23641e81d514e0;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index de9a52e..16bd2fb 100644 --- a/scene.c +++ b/scene.c @@ -640,7 +640,7 @@ void display() { glPushMatrix(); - //glTranslatef(0.0, 0.0, 0.0); + glTranslatef(0.0, 0.0, -2.0); glutWireTeapot(1); // Draw teapot for test 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);