- Timestamp:
- Jun 26, 2005, 5:55:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
r4706 r4707 221 221 CDEngine::getInstance()->checkCollisions(); 222 222 223 currentFrame = SDL_GetTicks();224 dt = currentFrame - lastFrame;225 226 223 227 224 b->shiftCoor(Vector(0.0, 0.0, iterata)); … … 236 233 } 237 234 delete iterator; 238 239 lastFrame = currentFrame;240 235 } 241 236 … … 243 238 void Framework::moduleDraw() const 244 239 { 245 CDEngine::getInstance()->drawBV(depth, drawMode); 246 LightManager::getInstance()->draw(); 240 //CDEngine::getInstance()->drawBV(depth, drawMode); 247 241 248 242 tIterator<WorldEntity>* iterator = entityList->getIterator(); /* get the iterator - JAVA style */ … … 250 244 while( entity != NULL) /* nextElement() will return NULL at the end */ 251 245 { 252 if( drawModel)246 if( likely(drawModel)) 253 247 entity->draw(); 254 //entity->drawBVTree(depth, drawMode);248 entity->drawBVTree(depth, drawMode); 255 249 entity = iterator->nextElement(); /* give back the next element or NULL if last */ 256 250 } 257 251 delete iterator; 258 //model->draw(); 252 253 LightManager::getInstance()->draw(); 259 254 } 260 255
Note: See TracChangeset
for help on using the changeset viewer.