Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5110 in orxonox.OLD for trunk/src/subprojects/collision_detection


Ignore:
Timestamp:
Aug 23, 2005, 11:07:40 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: changed the behaviour of the iterator.
Now it is soon possible to walk through a List from front and back, and tell the Iterator from where to seek

@patrick: i had to disable your Collision-Detection algorithms, because they had a seekElement inside, that i did not entirely grasp the meaning of….
trying to fix this now

File:
1 edited

Legend:

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

    r5034 r5110  
    235235
    236236  tIterator<WorldEntity>* iterator = entityList->getIterator();
    237   WorldEntity* entity = iterator->nextElement();
     237  WorldEntity* entity = iterator->firstElement();
    238238  while( entity != NULL)
    239239  {
     
    251251
    252252  tIterator<WorldEntity>* iterator = entityList->getIterator();
    253   WorldEntity* entity = iterator->nextElement();
     253  WorldEntity* entity = iterator->firstElement();
    254254  while( entity != NULL)
    255255  {
Note: See TracChangeset for help on using the changeset viewer.