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

index 004da43..182409a 100644 (file)
--- a/helper.c
+++ b/helper.c
@@ -272,13 +272,16 @@ void drawLine() {
     
     // x arrowheads
     glVertex3i(  lineLength, 0.0, 0.0 );
-    glVertex3i(  lineLength - arrowLength, 0.0,  0.3 );
+    glVertex3i(  lineLength - arrowLength, 0.0,  1.0 );
 
     glVertex3i(  lineLength, 0.0, 0.0 );
-    glVertex3i(  lineLength - arrowLength, 0.0, -0.3 );
+    glVertex3i(  lineLength - arrowLength, 0.0, -1.0 );
 
     glVertex3i( -lineLength, 0.0, 0.0 );
-    glVertex3i( -lineLength - arrowLength, 0.0,  0.3 );
+    glVertex3i( -lineLength - arrowLength, 0.0,  1.0 );
+
+    glVertex3i( -lineLength, 0.0, 0.0 );
+    glVertex3i( -lineLength - arrowLength, 0.0, -1.0 );
 
     // z arrow
     glVertex3i( 0.0, 0.0,  lineLength );

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