(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index bb80b65..642fdcd 100644 (file)
--- 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\r
       glColor3f(0.0, 0.0, 0.0);\r
       glFrontFace(GL_CW);\r
-        glutSolidTeapot(1);\r
+      glutSolidTeapot(1);\r
       glFrontFace(GL_CCW);\r
     glPopMatrix();\r
 \r
@@ -415,6 +415,7 @@ int main(int argc, char **argv) {
   glEnable(GL_DEPTH_TEST); // Enables Depth Testing\r
   glDepthFunc(GL_LEQUAL);  // the type\r
   glEnable(GL_TEXTURE_2D);\r
+  glEnable(GL_CULL_FACE);\r
   glEnable(GL_NORMALIZE);\r
   glLineWidth(2.0);\r
 \r

UCC git Repository :: git.ucc.asn.au