X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=9aa53168a187dc8a8f0620c5eafd8a8e304479ff;hp=9c017cec4e8b9400a1341f332bdc33ab837077c9;hb=b7db1a7cd382c54ee0caa5e2a2d9dfdde6801b30;hpb=90808378df5d18e9d3a109118b049b3d55ac15d7 diff --git a/scene.c b/scene.c index 9c017ce..9aa5316 100644 --- a/scene.c +++ b/scene.c @@ -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) */