Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9371 in orxonox.OLD for branches/proxy/src/lib/collision_detection


Ignore:
Timestamp:
Jul 20, 2006, 11:08:16 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: ORXONOX is now completely std::stringed

Location:
branches/proxy/src/lib/collision_detection
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/collision_detection/aabb_tree_node.cc

    r9357 r9371  
    262262    const int* triangleIndexes, int length)
    263263{
    264 
    265   Vector         axis[3];                            //!< the references to the obb axis
    266264  Matrix         covMat(  box.covarianceMatrix  );   //!< covariance matrix (in the matrix dataform)
    267265
     
    501499  if( this->overlapTest(this->bvElement, treeNode->bvElement, nodeA, nodeB))
    502500  {
    503     PRINTF(5)("collision @ lvl %i, object %s vs. %s, (%p, %p)\n", this->depth, nodeA->getClassName(), nodeB->getClassName(), this->nodeLeft, this->nodeRight);
     501    PRINTF(5)("collision @ lvl %i, object %s::%s vs. %s::%s, (%p, %p)\n", this->depth, nodeA->getClassCName(), nodeA->getCName(), nodeB->getClassCName(), nodeA->getCName(), this->nodeLeft, this->nodeRight);
    504502
    505503
  • branches/proxy/src/lib/collision_detection/cd_engine.cc

    r9357 r9371  
    4545
    4646  this->bAbordOnFirstCollision = false;
    47  
     47
    4848  this->terrain = NULL;
    4949}
     
    8686        if( likely((*entity2) != this->terrain))
    8787        {
    88           PRINTF(5)("checking object %s (%s) against %s (%s)\n", (*entity1)->getClassName(), (*entity1)->getName(), (*entity2)->getClassName(), (*entity2)->getName());
     88          PRINTF(5)("checking object %s (%s) against %s (%s)\n",
     89            (*entity1)->getClassCName(), (*entity1)->getCName(), (*entity2)->getClassCName(), (*entity2)->getCName());
    8990          tree = (*entity1)->getOBBTree();
    9091          if( likely(tree != NULL) && (*entity2)->getOBBTree() != NULL)
  • branches/proxy/src/lib/collision_detection/obb_tree_node.cc

    r9357 r9371  
    505505  if( this->overlapTest(this->bvElement, treeNode->bvElement, nodeA, nodeB))
    506506  {
    507     PRINTF(5)("collision @ lvl %i, object %s vs. %s, (%p, %p)\n", this->depth, nodeA->getClassName(), nodeB->getClassName(), this->nodeLeft, this->nodeRight);
     507    PRINTF(5)("collision @ lvl %i, object %s vs. %s, (%p, %p)\n", this->depth, nodeA->getClassCName(), nodeB->getClassCName(), this->nodeLeft, this->nodeRight);
    508508
    509509
     
    807807      if( this->obbTree->getOwner() != NULL)
    808808      {
    809         PRINTF(4)("debug poly draw: depth: %i, mode: %i, entity-name: %s, class: %s\n", depth, drawMode, this->obbTree->getOwner()->getName(), this->obbTree->getOwner()->getClassName());
     809        PRINTF(4)("debug poly draw: depth: %i, mode: %i, entity-name: %s, class: %s\n", depth, drawMode, this->obbTree->getOwner()->getCName(), this->obbTree->getOwner()->getClassCName());
    810810      }
    811811      else
Note: See TracChangeset for help on using the changeset viewer.