X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=0f78831abc9d1b20d555f769edaf0e3e79ba4af0;hb=439ec62d3f2d9c9824b5c3e0cfbd2311853af1df;hp=683eb1b82b8b13c7b65fdf996d016122a6f7ce92;hpb=6a04459fa0081b99da7ec882a9a5c6426035dd95;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(); }