X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=2894066821781bea5cadc640c1aeb78792b14795;hb=aab8c373bc59bdad20006d4429a67d75c46de0fa;hp=aa26ba1c695b89eeedf65e7f58faf18465e27223;hpb=c3f151c018e143e5505a2c13f3ab876fd5b0a67f;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index aa26ba1..2894066 100644 --- a/scene.c +++ b/scene.c @@ -616,7 +616,7 @@ void display() { //glTranslatef(0.0, 0.0, 0.0); - glutSolidTeapot(30); // Draw teapot for test + glutWireTeapot(30); // Draw teapot for test glPopMatrix(); glPushMatrix(); @@ -645,7 +645,7 @@ void init() { gluPerspective( 60.0, /* field of view in degree */ 1.0, /* aspect ratio */ - -900.0, /* Z near */ + 0.0, /* Z near */ 900.0 /* Z far */ ); @@ -692,7 +692,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);