Changeset 8845 in orxonox.OLD for branches/multi_player_map/src/lib/collision_detection
- Timestamp:
- Jun 28, 2006, 12:22:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/multi_player_map/src/lib/collision_detection/obb_tree_node.cc
r8843 r8845 455 455 return; 456 456 457 458 457 float distanceMax = this->bvElement->radius + ((OBBTreeNode*)treeNode)->bvElement->radius; 459 460 458 float distance = fabs((nodeA->getAbsCoor() - nodeB->getAbsCoor()).len()); 461 459 462 PRINTF(5)(" %s vs %s: distanceMax: %f, distance: %f\n", nodeA->getClassName(), nodeB->getClassName(), distanceMax, distance); 463 464 460 if( distance < distanceMax) 461 PRINTF(0)(" %s (%s: group %i) vs %s (%s: group %i): distanceMax: %f, distance: %f\n", nodeA->getClassName(), nodeA->getName(), nodeA->getOMListNumber(), nodeB->getClassName(), nodeB->getName(), nodeB->getOMListNumber(), distanceMax, distance); 465 462 466 463 PRINTF(4)("collideWith\n");
Note: See TracChangeset
for help on using the changeset viewer.