Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7705 in orxonox.OLD for branches/cd/src


Ignore:
Timestamp:
May 18, 2006, 7:46:45 PM (19 years ago)
Author:
patrick
Message:

cd: removed some old stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cd/src/lib/collision_detection/obb_tree_node.cc

    r7668 r7705  
    355355
    356356
    357 //   tmpVec = (&modelInf.pVertices[modelInf.pTriangles[triangleIndexes[0]].indexToVertices[0]]);
    358 //   maxLength[1] = p1.distancePoint(tmpVec);
    359 //   minLength[1] = p1.distancePoint(tmpVec);
    360 //   for( int j = 0; j < length; ++j)
    361 //   {
    362 //     for( int i = 0; i < 3; ++i)
    363 //     {
    364 //       tmpVec = (&modelInf.pVertices[modelInf.pTriangles[triangleIndexes[j]].indexToVertices[i]]);
    365 //       tmpLength = p1.distancePoint(tmpVec);
    366 //       if( tmpLength > maxLength[1])
    367 //         maxLength[1] = tmpLength;
    368 //       else if( tmpLength < minLength[1])
    369 //         minLength[1] = tmpLength;
    370 //     }
    371 //   }
    372 //
    373 //
    374 //   tmpVec = (&modelInf.pVertices[modelInf.pTriangles[triangleIndexes[0]].indexToVertices[0]]);
    375 //   maxLength[2] = p2.distancePoint(tmpVec);
    376 //   minLength[2] = p2.distancePoint(tmpVec);
    377 //   for( int j = 0; j < length; ++j)
    378 //   {
    379 //     for( int i = 0; i < 3; ++i)
    380 //     {
    381 //       tmpVec = (&modelInf.pVertices[modelInf.pTriangles[triangleIndexes[j]].indexToVertices[i]]);
    382 //       tmpLength = p2.distancePoint(tmpVec);
    383 //       if( tmpLength > maxLength[2])
    384 //         maxLength[2] = tmpLength;
    385 //       else if( tmpLength < minLength[2])
    386 //         minLength[2] = tmpLength;
    387 //     }
    388 //   }
    389 
    390357
    391358  /* calculate the real centre of the body by using the axis length */
    392 
    393 
    394359  for( int i = 0; i < 3; ++i)
    395360  {
Note: See TracChangeset for help on using the changeset viewer.