From: Ash Tyndall Date: Thu, 20 Oct 2011 12:30:50 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=94093fb9572b307fbe6a4c1758ee30e9e8233020;ds=sidebyside --- 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();