From: Ash Tyndall Date: Fri, 21 Oct 2011 01:46:17 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=bc40db0c36dac196dc3c7d1271d356fe315e0f56;p=atyndall%2Fcits2231.git --- diff --git a/helper.c b/helper.c index 3b82580..b98439e 100644 --- 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 );