From 439ec62d3f2d9c9824b5c3e0cfbd2311853af1df Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sun, 9 Oct 2011 17:30:42 +0800 Subject: [PATCH] --- scene.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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(); } -- 2.20.1