X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=helper.c;h=182409a05e2571c55c922ae7fd04b12f7cc4d889;hp=004da4330028af07ed20688baea05613d7947e7f;hb=5b954dfe6532f13411b454949cf1387b13b6dc52;hpb=9265bbe175893ed49376b406b64e5b7ecbd9234e 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 );