Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5213 in orxonox.OLD for trunk/src/world_entities/world_entity.cc


Ignore:
Timestamp:
Sep 21, 2005, 8:10:11 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: removed the Collision-detection, to be faster with Valgrind.
@patrick: to revert this change do a:
svn merge -r 5213:5212 . .
in the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/world_entity.cc

    r5208 r5213  
    9999bool WorldEntity::buildObbTree(unsigned int depth)
    100100{
    101   if (this->obbTree)
    102     delete this->obbTree;
    103 
    104   if (this->model)
    105   {
    106     PRINTF(4)("creating obb tree\n");
    107     this->obbTree = new OBBTree(depth, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());
    108     return true;
    109   }
    110   else
    111   {
    112     PRINTF(2)("could not create obb-tree, because no model was loaded yet\n");
    113     this->obbTree = NULL;
    114     return false;
    115   }
     101//   if (this->obbTree)
     102//     delete this->obbTree;
     103//
     104//   if (this->model)
     105//   {
     106//     PRINTF(4)("creating obb tree\n");
     107//     this->obbTree = new OBBTree(depth, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());
     108//     return true;
     109//   }
     110//   else
     111//   {
     112//     PRINTF(2)("could not create obb-tree, because no model was loaded yet\n");
     113//     this->obbTree = NULL;
     114//     return false;
     115//  }
    116116}
    117117
Note: See TracChangeset for help on using the changeset viewer.