X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=609fdd1847694307bfa5fab3f0f9f88836ca2ce5;hp=3bda9b42afdb3c4f77f2079cfa04766b448992da;hb=24e6e08e4ec1d955b25741af0276857ef0a853a5;hpb=519f453dab3dd31341d4dc2e6e1ae4f3beac977c diff --git a/scene.c b/scene.c index 3bda9b4..609fdd1 100644 --- a/scene.c +++ b/scene.c @@ -318,7 +318,7 @@ void display() { 75.0, aspect, 0.1, - 200 + 300 ); glMatrixMode(GL_MODELVIEW); @@ -355,8 +355,6 @@ void display() { glLightfv(GL_LIGHT1, GL_POSITION, lightPosition1); drawFloor(); - - drawLine(); // Draw teapot for a test object glPushMatrix(); @@ -385,6 +383,8 @@ void display() { glEnable(GL_LIGHTING); glPopMatrix(); + drawAxisLines(); + glPopMatrix(); glutSwapBuffers();