Changeset 5042 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection
- Timestamp:
- Aug 16, 2005, 8:28:04 PM (19 years ago)
- 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 29 29 #include "quadtree.h" 30 30 #include "quadtree_node.h" 31 31 32 32 33 -
orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
r5038 r5042 626 626 PRINT(3)("Checking OBB %i vs %i: ", this->getIndex(), treeNode->getIndex()); 627 627 if( unlikely(treeNode == NULL)) return; 628 628 629 if( this->overlapTest(this->bvElement, ((OBBTreeNode*)treeNode)->bvElement, nodeA, nodeB)) 629 630 { 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()); 631 632 632 633 /* check if left node overlaps */ … … 653 654 if( unlikely(this->nodeRight == NULL && this->nodeLeft == NULL)) 654 655 { 656 PRINT(0)("COLLISOIN\n"); 655 657 nodeA->collidesWith(nodeB); 656 658 nodeB->collidesWith(nodeA);
Note: See TracChangeset
for help on using the changeset viewer.