Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 26, 2005, 5:19:05 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now the stuff isnt drawed anymore

File:
1 edited

Legend:

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

    r4705 r4706  
    224224  dt = currentFrame - lastFrame;
    225225
    226   if( dt > 0)
    227   {
    228     float fps = 1000/dt;
    229 
    230           // temporary, only for showing how fast the text-engine is
    231     printf("we got %f fps\n", fps);
    232   }
    233   else
    234   {
    235           /* the frame-rate is limited to 100 frames per second, all other things are for nothing.
    236           */
    237     SDL_Delay(1);
    238     dt = 10;
    239   }
    240226
    241227  b->shiftCoor(Vector(0.0, 0.0, iterata));
     
    246232  while( entity != NULL)                        /* nextElement() will return NULL at the end */
    247233  {
    248     entity->tick(0.1);
     234    entity->tick(dt);
    249235    entity = iterator->nextElement();       /* give back the next element or NULL if last */
    250236  }
     
    266252    if( drawModel)
    267253    entity->draw();
    268     entity->drawBVTree(depth, drawMode);
     254    //entity->drawBVTree(depth, drawMode);
    269255    entity = iterator->nextElement();       /* give back the next element or NULL if last */
    270256  }
Note: See TracChangeset for help on using the changeset viewer.