(no commit message)
authorAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 12:30:50 +0000 (20:30 +0800)
committerAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 12:30:50 +0000 (20:30 +0800)
helper.c
scene.c

index a0f263d..de70644 100644 (file)
--- a/helper.c
+++ b/helper.c
@@ -268,8 +268,8 @@ void drawLine() {
     glEnd();
 
     glBegin(GL_LINES);
-    glVertex3i( 0.0, 1.0,  lineLength );
-    glVertex3i( 0.0, 1.0, -lineLength );
+    glVertex3i( 0.0, 0.0,  lineLength );
+    glVertex3i( 0.0, 0.0, -lineLength );
     glEnd();
 
     glDisable(GL_BLEND);
diff --git a/scene.c b/scene.c
index d142941..391cd46 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -327,8 +327,8 @@ void display() {
     \r
     // Draw teapot for a test object\r
     glPushMatrix();\r
-      glTranslatef(0.0, 1.0, 0.0); // **NOTE: Teapot does not rest on surface\r
-      glColor3f(0.5, 0.5, 0.5);\r
+      glTranslatef(0.0, 0.5, 0.0); // **NOTE: Teapot does not rest on surface\r
+      glColor3f(0.0, 0.0, 0.0);\r
       glutSolidTeapot(1);\r
     glPopMatrix();\r
 \r

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