X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=e42c48c8fb9e9d9c5c4f567562a52c0731eca9cb;hp=424835fd9507485f315f74dec6f08fd52d8d9c63;hb=ffb95814b6e8d3ef616722cd64e07a7af0defd74;hpb=5b32bc535df214143df62b16705c365cfdd31125 diff --git a/scene.c b/scene.c index 424835f..e42c48c 100644 --- a/scene.c +++ b/scene.c @@ -123,8 +123,8 @@ GLfloat angle = -150; /* in degrees */ GLfloat angle2 = 30; /* in degrees */ /* Near and far parameters */ -GLfloat near = -20; -GLfloat far = 20; +GLfloat near = -100; +GLfloat far = 100; /* Zoom factor for mouse movements */ GLfloat zoomFactor = 1.0; @@ -694,8 +694,8 @@ void init() { gluPerspective( 60.0, /* field of view in degree */ 1.0, /* aspect ratio */ - near, /* Z near */ - far /* Z far */ + -10, /* Z near */ + 10 /* Z far */ );