X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=2e2f93c46af4bb0b08f63f29ad1c87ba84017b4c;hp=71523bc096a76eb5b361bbcad5d032c7708a41ef;hb=b24fabe7a11b7e6d6d53aff68ea37df448fb53d2;hpb=c042b436d22f2eb9fa232ff667f1e48ededef033 diff --git a/scene.c b/scene.c index 71523bc..2e2f93c 100644 --- a/scene.c +++ b/scene.c @@ -133,7 +133,7 @@ GLfloat zoomFactor = 1.0; int drawFloorRecurse = 5; /* Size of floor, from -n to n */ -int floorSize = 100; +int floorSize = 200; /* Light 0 parameters */ GLfloat diffuse0[] = {1.0, 1.0, 1.0, 1.0}; @@ -691,12 +691,12 @@ void init() { glMatrixMode(GL_PROJECTION); glLoadIdentity(); - //gluPerspective( - // 60.0, /* field of view in degree */ - // 1.0, /* aspect ratio */ - // near, /* Z near */ - // far /* Z far */ - // ); + gluPerspective( + 60.0, /* field of view in degree */ + 1.0, /* aspect ratio */ + near, /* Z near */ + far /* Z far */ + ); glLightfv(GL_LIGHT0, GL_POSITION, light0_pos);