Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 9, 2004, 2:54:49 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/importer: read in whole line instead of only next entry, better for parsing textfiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/importer/importer/framework.cc

    r2759 r2765  
    99void DrawGLScene()
    1010{
    11   rotator +=.0001;
     11  rotator +=.01;
    1212 
    1313  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
     
    1717  glLoadIdentity();     
    1818  gluPerspective(45.0f,500/375,0.1f,100.0f);
    19   gluLookAt (10*sin(rotator),5,10*cos(rotator), 0,0,0, 0,1,0);
    20 
     19  gluLookAt (10*sin(rotator),15,10*cos(rotator), 0,0,0, 0,1,0);
     20 
    2121  obj->draw();
    22 
    23  
    2422
    2523  SDL_GL_SwapBuffers(); // Swap the buffers
Note: See TracChangeset for help on using the changeset viewer.