X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=helper.c;h=460c44a59a8ee32f5730dca4909b32098821fcf5;hp=0b5a8790ddb9ccd33f96b68f084232329b68c947;hb=2d7a16e7d0297d354fcc98be4626ec8a8331fb0d;hpb=0a1307fe36bf8e5c86664f93a5126c0d5debb1e7 diff --git a/helper.c b/helper.c index 0b5a879..460c44a 100644 --- a/helper.c +++ b/helper.c @@ -254,16 +254,17 @@ void drawFloor() { /** * Draw x, z axis on floor */ -void drawLine() { +void drawAxisLines() { // **NOTE: Function does not currently draw arrow-heads glDisable(GL_TEXTURE_2D); glDisable(GL_LIGHTING); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); + glEnable(GL_LINE_SMOOTH); glColor3f( 0.0, 0.0, 0.0 ); - float arrowLength = 0.1; + float arrowLength = 1.0; glBegin(GL_LINES); // x arrow