Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6140 in orxonox.OLD for branches/collision_detection/src/lib


Ignore:
Timestamp:
Dec 16, 2005, 6:47:33 PM (19 years ago)
Author:
patrick
Message:

network: removing branche network

File:
1 edited

Legend:

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

    r5932 r6140  
    469469    if( tmpDist > 0.0f)
    470470      partition1.push_back(box.triangleIndexes[i]); /* positive numbers plus zero */
    471     else
     471    else if( tmpDist < 0.0f)
    472472      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    }
    473477  }
    474478  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.