Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 26, 2005, 4:13:11 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now collision detection is accurate. Now I have to tune the code, so the cd becomes faster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/cd_engine.cc

    r4695 r4704  
    6666  WorldEntity* entity1 = iterator1->nextElement();
    6767  WorldEntity* entity2 = iterator2->seekElement(entity1);
    68   printf("checking for collisions\n");
     68  PRINTF(3)("checking for collisions\n");
    6969  while( entity1 != NULL)
    7070  {
    71     printf("entering l1\n");
    7271    while( entity2 != NULL)
    7372    {
    74       printf("entering l2 - checking object %s against %s\n", entity1->getName(), entity2->getName());
     73      PRINTF(3)("checking object %s against %s\n", entity1->getName(), entity2->getName());
    7574      entity1->collideWith(entity2);
    7675      entity2 = iterator2->nextElement();
Note: See TracChangeset for help on using the changeset viewer.