X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=helper.c;h=404094752514a120a13e43ca4fc58f7dd8ccb814;hp=d7c6291b1ade4f1b6f9d99a0d51d8b1617625fb3;hb=04b80f76711fefed66b740898072a6a1fd51171d;hpb=6050088f70bb80701c08dcee9ad786b6c62acf7a diff --git a/helper.c b/helper.c index d7c6291..4040947 100644 --- a/helper.c +++ b/helper.c @@ -263,7 +263,7 @@ void drawLine() { glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glColor3f( 0.0, 0.0, 0.0 ); - float arrowLength = 0.5; + float arrowLength = 1.0; glBegin(GL_LINES); // x arrow @@ -272,7 +272,7 @@ void drawLine() { // x arrowheads glVertex3i( lineLength, 0.0, 0.0 ); - glVertex3i( lineLength - arrowLength, 0.0, 0.9 ); + glVertex3i( lineLength - arrowLength, 0.0, 1.0 ); glVertex3i( lineLength, 0.0, 0.0 ); glVertex3i( lineLength - arrowLength, 0.0, -1.0 );