X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=642fdcdc5bfce55a355ca9e68597233e8effdc66;hp=bb80b6554700a04057fd114bf7e02fb6eb3c5fd2;hb=f9002f54a9997f36708874d34258e2a75409e8bd;hpb=5b954dfe6532f13411b454949cf1387b13b6dc52 diff --git a/scene.c b/scene.c index bb80b65..642fdcd 100644 --- a/scene.c +++ b/scene.c @@ -341,7 +341,7 @@ void display() { glTranslatef(0.0, 0.5, 0.0); // **NOTE: Teapot currently does not rest on surface glColor3f(0.0, 0.0, 0.0); glFrontFace(GL_CW); - glutSolidTeapot(1); + glutSolidTeapot(1); glFrontFace(GL_CCW); glPopMatrix(); @@ -415,6 +415,7 @@ int main(int argc, char **argv) { glEnable(GL_DEPTH_TEST); // Enables Depth Testing glDepthFunc(GL_LEQUAL); // the type glEnable(GL_TEXTURE_2D); + glEnable(GL_CULL_FACE); glEnable(GL_NORMALIZE); glLineWidth(2.0);