Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5042 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection


Ignore:
Timestamp:
Aug 16, 2005, 8:28:04 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: cd debuging tour, the trip forced me to think about the cd feedback triggering - still working

Location:
orxonox/trunk/src/lib/collision_detection
Files:
2 edited

Legend:

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

    r5038 r5042  
    2929#include "quadtree.h"
    3030#include "quadtree_node.h"
     31
    3132
    3233
  • orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc

    r5038 r5042  
    626626  PRINT(3)("Checking OBB %i vs %i: ", this->getIndex(), treeNode->getIndex());
    627627  if( unlikely(treeNode == NULL)) return;
     628
    628629  if( this->overlapTest(this->bvElement, ((OBBTreeNode*)treeNode)->bvElement, nodeA, nodeB))
    629630  {
    630     //PRINTF(0)("collision @ lvl %i, object %s vs %s\n", this->depth, nodeA->getClassName(), nodeB->getClassName());
     631    PRINTF(3)("collision @ lvl %i, object %s vs. %s\n", this->depth, nodeA->getClassName(), nodeB->getClassName());
    631632
    632633    /* check if left node overlaps */
     
    653654      if( unlikely(this->nodeRight == NULL && this->nodeLeft == NULL))
    654655      {
     656        PRINT(0)("COLLISOIN\n");
    655657        nodeA->collidesWith(nodeB);
    656658        nodeB->collidesWith(nodeA);
Note: See TracChangeset for help on using the changeset viewer.