All pastes #908083 Raw Edit

Mine

public text v1 · immutable
·published 2008-02-18 03:01 UTC
rendered paste body
 glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
          glClear(GL_COLOR_BUFFER_BIT);

          glPushMatrix();
          glRotatef(theta, 0.0f, 0.0f, 1.0f);
          glBegin(GL_TRIANGLES);
          glColor3f( 1.0f, 0.0f, 0.0f ); glVertex2f( 0.0f, 1.0f );
          glColor3f( 0.0f, 1.0f, 0.0f ); glVertex2f( 0.87f, -0.5f );
          glColor3f( 0.0f, 0.0f, 1.0f ); glVertex2f( -0.87f, -0.5f );
          glEnd();
          glPopMatrix();
          SwapBuffers( hDC );

          theta += 1.0f;