From: Ash Tyndall Date: Fri, 21 Oct 2011 02:34:51 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=279764e831c70dd8e02a5d70b1c3715464b1b731;p=atyndall%2Fcits2231.git --- 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();