From bc40db0c36dac196dc3c7d1271d356fe315e0f56 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 21 Oct 2011 09:46:17 +0800 Subject: [PATCH] --- helper.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 ); -- 2.20.1