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