(no commit message)
[atyndall/cits2231.git] / helper.c
index 182409a..aebdaee 100644 (file)
--- a/helper.c
+++ b/helper.c
@@ -278,10 +278,10 @@ void drawLine() {
     glVertex3i(  lineLength - arrowLength, 0.0, -1.0 );
 
     glVertex3i( -lineLength, 0.0, 0.0 );
-    glVertex3i( -lineLength - arrowLength, 0.0,  1.0 );
+    glVertex3i( -lineLength + arrowLength, 0.0,  1.0 );
 
     glVertex3i( -lineLength, 0.0, 0.0 );
-    glVertex3i( -lineLength - arrowLength, 0.0, -1.0 );
+    glVertex3i( -lineLength + arrowLength, 0.0, -1.0 );
 
     // z arrow
     glVertex3i( 0.0, 0.0,  lineLength );

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