X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=4870d86cbb9ba9700385b5af0ef95a69cd7ccfae;hp=9c017cec4e8b9400a1341f332bdc33ab837077c9;hb=9bdefd94a0ad55f745e4723119294fb22896b6ba;hpb=90808378df5d18e9d3a109118b049b3d55ac15d7 diff --git a/scene.c b/scene.c index 9c017ce..4870d86 100644 --- a/scene.c +++ b/scene.c @@ -329,7 +329,7 @@ void display() { glPushMatrix(); glTranslatef(0.0, 1.0, 0.0); // **NOTE: Teapot does not rest on surface glColor3f(0.5, 0.5, 0.5); - glutSolidTeapot(25); + glutSolidTeapot(1); glPopMatrix(); // Draw a white ball over the light source @@ -416,7 +416,7 @@ int main(int argc, char **argv) { glMatrixMode(GL_PROJECTION); gluPerspective( /* field of view in degree */ 40.0, /* aspect ratio */ 1.0, - /* Z near */ -100.0, /* Z far */ 100.0); + /* Z near */ 10.0, /* Z far */ 100.0); glMatrixMode(GL_MODELVIEW); gluLookAt(0.0, 35.0, 60.0, /* eye is at (0,8,60) */ 0.0, 0.0, 0.0, /* center is at (0,8,0) */