From: Ash Tyndall Date: Fri, 21 Oct 2011 01:37:12 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=058e09502404f3a56d7302817d03641fa30a885f;ds=sidebyside --- diff --git a/globals.c b/globals.c index 7a4e5a0..c57a6f7 100644 --- a/globals.c +++ b/globals.c @@ -76,7 +76,7 @@ int floorSize = 200; GLfloat camx = 0.0, camy = 0.0, camz = 0.0, rot = 0.0; /* Length of axis lines */ -GLfloat lineLength = 100; +GLfloat lineLength = 10; /* Light 0 parameters */ GLfloat diffuse0[]={1.0, 0.0, 0.0, 1.0}; diff --git a/helper.c b/helper.c index ceb7c15..9695093 100644 --- a/helper.c +++ b/helper.c @@ -266,9 +266,6 @@ void drawLine() { glBegin(GL_LINES); glVertex3i( lineLength, 0.0, 0.0 ); glVertex3i( -lineLength, 0.0, 0.0 ); - glEnd(); - - glBegin(GL_LINES); glVertex3i( 0.0, 0.0, lineLength ); glVertex3i( 0.0, 0.0, -lineLength ); glEnd();