Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7158 in orxonox.OLD for trunk/src/subprojects


Ignore:
Timestamp:
Feb 18, 2006, 1:46:47 AM (19 years ago)
Author:
bensch
Message:

importer works again

Location:
trunk/src/subprojects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/subprojects/framework.cc

    r7157 r7158  
    3131{
    3232  // create parser
    33 
    3433  char* configFileName = ResourceManager::homeDirCheck(DEFAULT_CONFIG_FILE);
    3534
     
    9089{
    9190  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
     91
    9292  camera->apply();
    9393  camera->project();
     94
    9495
    9596  this->moduleDraw();
     
    105106  float dt = (float)(currFrame - lastFrame) / 1000.0;
    106107  lastFrame = currFrame;
     108  this->camera->tick(dt);
    107109
    108110  this->moduleTick(dt);
  • trunk/src/subprojects/importer/importer.cc

    r7157 r7158  
    6262    }
    6363  }
    64   else
     64 // else
    6565    obj = new PrimitiveModel(PRIM_CYLINDER);
    6666
    67   obj = new VertexArrayModel(*obj);
    6867
    6968  ResourceManager::getInstance()->debug();
Note: See TracChangeset for help on using the changeset viewer.