Changeset 4695 in orxonox.OLD for orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
- Timestamp:
- Jun 24, 2005, 11:15:12 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc
r4694 r4695 69 69 b->setRelCoor(0.0, 0.0, -10.0); 70 70 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); 73 73 74 74 entityList->add(a); 75 75 entityList->add(b); 76 entityList->add(c);76 // entityList->add(c); 77 77 78 78 CDEngine::getInstance()->setEntityList(entityList); … … 204 204 { 205 205 206 CDEngine::getInstance()->checkCollisions();206 //CDEngine::getInstance()->checkCollisions(); 207 207 208 208 currentFrame = SDL_GetTicks(); … … 220 220 /* the frame-rate is limited to 100 frames per second, all other things are for nothing. 221 221 */ 222 SDL_Delay( (unsigned int)(10-dt));222 SDL_Delay(1); 223 223 dt = 10; 224 224 } … … 240 240 void Framework::moduleDraw() const 241 241 { 242 //CDEngine::getInstance()->drawBV(depth, drawMode);242 CDEngine::getInstance()->drawBV(depth, drawMode); 243 243 LightManager::getInstance()->draw(); 244 244
Note: See TracChangeset
for help on using the changeset viewer.