(no commit message)
authorAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 01:37:12 +0000 (09:37 +0800)
committerAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 01:37:12 +0000 (09:37 +0800)
globals.c
helper.c

index 7a4e5a0..c57a6f7 100644 (file)
--- 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};
index ceb7c15..9695093 100644 (file)
--- 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();

UCC git Repository :: git.ucc.asn.au