(no commit message)
authorAsh Tyndall <git@atyndall.net>
Fri, 21 Oct 2011 01:46:17 +0000 (09:46 +0800)
committerAsh Tyndall <git@atyndall.net>
Fri, 21 Oct 2011 01:46:17 +0000 (09:46 +0800)
helper.c

index 3b82580..b98439e 100644 (file)
--- a/helper.c
+++ b/helper.c
@@ -272,10 +272,13 @@ void drawLine() {
     
     // x arrowheads
     glVertex3i(  lineLength, 0.0, 0.0 );
-    glVertex3i(  lineLength - arrowLength, 0.0, arrowLength );
+    glVertex3i(  lineLength - arrowLength, 0.0,  1.0 );
+
+    glVertex3i(  lineLength, 0.0, 0.0 );
+    glVertex3i(  lineLength - arrowLength, 0.0, -1.0 );
 
     glVertex3i( -lineLength, 0.0, 0.0 );
-    glVertex3i( -lineLength - arrowLength, 0.0, arrowLength );
+    glVertex3i( -lineLength - arrowLength, 0.0,  1.0 );
 
     // z arrow
     glVertex3i( 0.0, 0.0,  lineLength );

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