From 94093fb9572b307fbe6a4c1758ee30e9e8233020 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Thu, 20 Oct 2011 20:30:50 +0800 Subject: [PATCH] --- helper.c | 4 ++-- scene.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/helper.c b/helper.c index a0f263d..de70644 100644 --- 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 --- a/scene.c +++ b/scene.c @@ -327,8 +327,8 @@ void display() { // Draw teapot for a test object glPushMatrix(); - glTranslatef(0.0, 1.0, 0.0); // **NOTE: Teapot does not rest on surface - glColor3f(0.5, 0.5, 0.5); + glTranslatef(0.0, 0.5, 0.0); // **NOTE: Teapot does not rest on surface + glColor3f(0.0, 0.0, 0.0); glutSolidTeapot(1); glPopMatrix(); -- 2.20.1