From 058e09502404f3a56d7302817d03641fa30a885f Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 21 Oct 2011 09:37:12 +0800 Subject: [PATCH] --- globals.c | 2 +- helper.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) 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(); -- 2.20.1