From: Ash Tyndall Date: Sun, 9 Oct 2011 09:30:42 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=439ec62d3f2d9c9824b5c3e0cfbd2311853af1df;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 683eb1b..0f78831 100644 --- a/scene.c +++ b/scene.c @@ -492,13 +492,7 @@ void display() { glTranslatef(0.0f,0.0f,-4.0f); // Move Left 1.5 Units And Into The Screen 6.0 - glBegin(GL_QUADS); - glColor3f(1.0f,0.0f,0.0f); // Set The Color To Red - glVertex3f(-1.0f, 1.0f, 0.0f); // Top left - glVertex3f( 1.0f, 1.0f, 0.0f); // Top Right - glVertex3f( 1.0f,-1.0f, 0.0f); // Bottom Right - glVertex3f(-1.0f,-1.0f, 0.0f); // Bottom Left - glEnd(); + glutSolidTeapot(10.0); glutSwapBuffers(); }