Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6140 in orxonox.OLD for branches/collision_detection


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

network: removing branche network

Location:
branches/collision_detection/src
Files:
2 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());
  • branches/collision_detection/src/world_entities/world_entity.cc

    r5718 r6140  
    101101      this->model = (Model*)ResourceManager::getInstance()->load(fileName, OBJ, RP_CAMPAIGN, &scaling);
    102102
    103     this->buildObbTree(4);
     103    this->buildObbTree(10);
    104104  }
    105105  else
Note: See TracChangeset for help on using the changeset viewer.