Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7973 in orxonox.OLD


Ignore:
Timestamp:
May 30, 2006, 11:28:50 AM (18 years ago)
Author:
patrick
Message:

cr: commiting over our new adsl link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/lib/collision_reaction/collision_handle.cc

    r7969 r7973  
    3535  this->type = type;
    3636
     37  this->targetList.clear();
    3738}
    3839
     
    6162void CollisionHandle::addTarget(long classID)
    6263{
     64  printf("addTarget: %i this is target nr %i\n", classID, this->targetList.size());
    6365  // make sure there is no dublicate
    64   std::vector<long>::iterator it;
    65   for(  it = this->targetList.begin(); it != this->targetList.end(); it++)
    66     if(*it == classID)
    67       return;
     66//   for(int i = 0; i < this->targetList.size(); ++i)
     67//     printf("id: %i\n", this->targetList[i]);
     68
     69//   std::vector<long>::iterator it = this->targetList.begin();
     70//   for( ; it < this->targetList.end(); it++)
     71//     printf("id: %i\n", *it);
     72//     if( (*it) == classID)
     73//       return;
    6874
    6975  // add element
Note: See TracChangeset for help on using the changeset viewer.