From 279764e831c70dd8e02a5d70b1c3715464b1b731 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Fri, 21 Oct 2011 10:34:51 +0800 Subject: [PATCH] --- helper.c | 4 ++-- scene.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helper.c b/helper.c index 182409a..aebdaee 100644 --- a/helper.c +++ b/helper.c @@ -278,10 +278,10 @@ void drawLine() { glVertex3i( lineLength - arrowLength, 0.0, -1.0 ); glVertex3i( -lineLength, 0.0, 0.0 ); - glVertex3i( -lineLength - arrowLength, 0.0, 1.0 ); + glVertex3i( -lineLength + arrowLength, 0.0, 1.0 ); glVertex3i( -lineLength, 0.0, 0.0 ); - glVertex3i( -lineLength - arrowLength, 0.0, -1.0 ); + glVertex3i( -lineLength + arrowLength, 0.0, -1.0 ); // z arrow glVertex3i( 0.0, 0.0, lineLength ); diff --git a/scene.c b/scene.c index ca81321..642fdcd 100644 --- a/scene.c +++ b/scene.c @@ -341,7 +341,7 @@ void display() { glTranslatef(0.0, 0.5, 0.0); // **NOTE: Teapot currently does not rest on surface glColor3f(0.0, 0.0, 0.0); glFrontFace(GL_CW); - glutSolidTeapot(1); + glutSolidTeapot(1); glFrontFace(GL_CCW); glPopMatrix(); -- 2.20.1