Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 24, 2005, 11:15:12 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: no only the overlap test is missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc

    r4694 r4695  
    6969  b->setRelCoor(0.0, 0.0, -10.0);
    7070
    71   TestEntity* c = new TestEntity(); c->setName("Colwn2");
    72   c->setRelCoor(0.0, 0.0, -20.0);
     71//   TestEntity* c = new TestEntity(); c->setName("Colwn2");
     72//   c->setRelCoor(0.0, 0.0, -20.0);
    7373
    7474  entityList->add(a);
    7575  entityList->add(b);
    76   entityList->add(c);
     76//   entityList->add(c);
    7777
    7878  CDEngine::getInstance()->setEntityList(entityList);
     
    204204{
    205205
    206   CDEngine::getInstance()->checkCollisions();
     206  //CDEngine::getInstance()->checkCollisions();
    207207
    208208  currentFrame = SDL_GetTicks();
     
    220220          /* the frame-rate is limited to 100 frames per second, all other things are for nothing.
    221221          */
    222     SDL_Delay((unsigned int)(10-dt));
     222    SDL_Delay(1);
    223223    dt = 10;
    224224  }
     
    240240void Framework::moduleDraw() const
    241241{
    242   //CDEngine::getInstance()->drawBV(depth, drawMode);
     242  CDEngine::getInstance()->drawBV(depth, drawMode);
    243243  LightManager::getInstance()->draw();
    244244
Note: See TracChangeset for help on using the changeset viewer.