X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=c57933539c224893b44c6dbb2ae19267a16071e4;hp=242a10482f0cfae27c4c01f2bda37e7f38bf4100;hb=9279cb0a39624664df28bac2026132b4a532acbf;hpb=fbcff5fdddb4380b77f5cc4eb8a9419266fc1355 diff --git a/scene.c b/scene.c index 242a104..c579335 100644 --- a/scene.c +++ b/scene.c @@ -591,7 +591,7 @@ void display() { gluLookAt( 0.0, 0.0, 60.0, /* eye is at (x,y,z) */ 0.0, 0.0, 0.0, /* center is at (x,y,z) */ - 0.0, -1.0, 0.0 /* up is in postivie Y direction */ + 0.0, 1.0, 0.0 /* up is in postivie Y direction */ ); /* Reposition the light source. */ @@ -614,9 +614,8 @@ void display() { glPushMatrix(); - //glTranslatef(0.0, 0.0, 0.0); - - glutSolidTeapot(30); // Draw teapot for test + glTranslatef(0.0, 0.0, 0.0); + glutWireTeapot(30); // Draw teapot for test glPopMatrix(); glPushMatrix(); @@ -692,7 +691,7 @@ int main(int argc, char **argv) { glDepthFunc(GL_LEQUAL); // the type glEnable(GL_CULL_FACE); glEnable(GL_TEXTURE_2D); - glLineWidth(3.0); + glLineWidth(1.0); glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);