(no commit message)
authorAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 02:34:51 +0000 (10:34 +0800)
committerAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 02:34:51 +0000 (10:34 +0800)
helper.c
scene.c

index 182409a..aebdaee 100644 (file)
--- 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 (file)
--- 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\r
       glColor3f(0.0, 0.0, 0.0);\r
       glFrontFace(GL_CW);\r
-        glutSolidTeapot(1);\r
+      glutSolidTeapot(1);\r
       glFrontFace(GL_CCW);\r
     glPopMatrix();\r
 \r

UCC git Repository :: git.ucc.asn.au