(no commit message)
[atyndall/cits2231.git] / 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