All pastes #235016 Raw Edit

Someone

public text v1 · immutable
·published 2006-11-02 23:16 UTC
rendered paste body
      {
            /* OpenGL animation code goes here */

            glClearColor (0.0f, 0.0f, 0.0f, 0.0f);
            glClear (GL_COLOR_BUFFER_BIT);
 glPushMatrix ();
GLUquadric *sphereObj;
sphereObj = gluNewQuadric();
gluQuadricTexture(sphereObj,1);
double radius = 15.0;
int slices = 100;
int stacks = 100;
void gluSphere(GLUquadricObj sphereObj,
               GLdouble radius,
               GLint slices,
               GLint stacks);  
                glEnd ();
            glPopMatrix ();

            SwapBuffers (hDC);                 
               Sleep (1);
        }