Changeset 6140 in orxonox.OLD for branches/collision_detection/src/lib
- Timestamp:
- Dec 16, 2005, 6:47:33 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/src/lib/collision_detection/obb_tree_node.cc
r5932 r6140 469 469 if( tmpDist > 0.0f) 470 470 partition1.push_back(box.triangleIndexes[i]); /* positive numbers plus zero */ 471 else 471 else if( tmpDist < 0.0f) 472 472 partition2.push_back(box.triangleIndexes[i]); /* negatice numbers */ 473 else { 474 partition1.push_back(box.triangleIndexes[i]); /* 0.0f? unprobable... */ 475 partition2.push_back(box.triangleIndexes[i]); 476 } 473 477 } 474 478 PRINTF(3)("\nPartition1: got \t%i Vertices \nPartition2: got \t%i Vertices\n", partition1.size(), partition2.size());
Note: See TracChangeset
for help on using the changeset viewer.