Changeset 5925 in orxonox.OLD for branches/collision_detection/src
- Timestamp:
- Dec 4, 2005, 11:38:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/collision_detection/src/lib/collision_detection/obb_tree_node.cc
r5923 r5925 391 391 { 392 392 tmpVec = (sVec3D*)(&modelInf.pVertices[modelInf.pTriangles[triangleIndexes[j]].indexToVertices[i]]); 393 tmpLength = p 0.distancePoint(*tmpVec);393 tmpLength = p1.distancePoint(*tmpVec); 394 394 if( tmpLength > maxLength[1]) 395 395 maxLength[1] = tmpLength; … … 408 408 { 409 409 tmpVec = (sVec3D*)(&modelInf.pVertices[modelInf.pTriangles[triangleIndexes[j]].indexToVertices[i]]); 410 tmpLength = p 0.distancePoint(*tmpVec);410 tmpLength = p2.distancePoint(*tmpVec); 411 411 if( tmpLength > maxLength[2]) 412 412 maxLength[2] = tmpLength;
Note: See TracChangeset
for help on using the changeset viewer.