glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);\r
glLoadIdentity();\r
\r
- glTranslatef(0.0f, 0.0f, 0.0f);\r
+ glTranslatef( 0.0f, 0.0f, 0.0f);\r
glBegin(GL_QUADS);\r
- glVertex3f(0.0f, 1.0f, -1.0f);\r
- glVertex3f(0.0f, 1.0f, 1.0f);\r
- glVertex3f(0.0f,-1.0f, 1.0f);\r
- glVertex3f(0.0f,-1.0f, -1.0f);\r
+ glVertex3f( 0.0f, 1.0f, -1.0f);\r
+ glVertex3f( 0.0f, 1.0f, 1.0f);\r
+ glVertex3f( 0.0f, -1.0f, 1.0f);\r
+ glVertex3f( 0.0f, -1.0f, -1.0f);\r
glEnd();\r
\r
\r
- glTranslatef(0.0f,0.0f,-5.0f); // Move into the Screen 10.0\r
+ glTranslatef( 0.0f, 0.0f, -5.0f); // Move into the Screen 10.0\r
glutSolidTeapot(1);\r
\r
+ gluLookAt(1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f);\r
+\r
glutSwapBuffers();\r
}\r
\r