Changeset 9371 in orxonox.OLD for branches/proxy/src/lib/collision_detection
- Timestamp:
- Jul 20, 2006, 11:08:16 PM (18 years ago)
- 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 262 262 const int* triangleIndexes, int length) 263 263 { 264 265 Vector axis[3]; //!< the references to the obb axis266 264 Matrix covMat( box.covarianceMatrix ); //!< covariance matrix (in the matrix dataform) 267 265 … … 501 499 if( this->overlapTest(this->bvElement, treeNode->bvElement, nodeA, nodeB)) 502 500 { 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); 504 502 505 503 -
branches/proxy/src/lib/collision_detection/cd_engine.cc
r9357 r9371 45 45 46 46 this->bAbordOnFirstCollision = false; 47 47 48 48 this->terrain = NULL; 49 49 } … … 86 86 if( likely((*entity2) != this->terrain)) 87 87 { 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()); 89 90 tree = (*entity1)->getOBBTree(); 90 91 if( likely(tree != NULL) && (*entity2)->getOBBTree() != NULL) -
branches/proxy/src/lib/collision_detection/obb_tree_node.cc
r9357 r9371 505 505 if( this->overlapTest(this->bvElement, treeNode->bvElement, nodeA, nodeB)) 506 506 { 507 PRINTF(5)("collision @ lvl %i, object %s vs. %s, (%p, %p)\n", this->depth, nodeA->getClass Name(), 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); 508 508 509 509 … … 807 807 if( this->obbTree->getOwner() != NULL) 808 808 { 809 PRINTF(4)("debug poly draw: depth: %i, mode: %i, entity-name: %s, class: %s\n", depth, drawMode, this->obbTree->getOwner()->get Name(), 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()); 810 810 } 811 811 else
Note: See TracChangeset
for help on using the changeset viewer.