Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. void orbit(){
  2.     static int v;
  3.     v++;
  4.     glMatrixMode( GL_MODELVIEW );
  5.     glLoadIdentity();
  6.     printf("orbiting %i\n",v);
  7.     gluLookAt( 0,1,0, 0,0,-v, 0,1,0 );
  8.        glFlush();
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement