Changeset 4612 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
- Timestamp:
- Jun 13, 2005, 12:05:24 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/obb_tree_node.cc
r4611 r4612 304 304 tList<sVec3D> partition2; //!< the vertex partition 2 305 305 306 for(int i = 0; i < box->numOfVertices; ++i) 307 { 308 if( separationPlane.distancePoint(box->vertices[i]) > 0.0f) 309 partition1.add(&box->vertices[i]); 310 else 311 partition2.add(&box->vertices[i]); 312 } 313 partition2.add(&box->vertices[vertexIndex]); 314 315 printf("\npartition1: got %i vertices/ partition 2: got %i vertices\n", partition1.getSize(), partition2.getSize()); 306 316 307 317 }
Note: See TracChangeset
for help on using the changeset viewer.