Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7739 in orxonox.OLD for trunk/src/lib/collision_detection


Ignore:
Timestamp:
May 20, 2006, 11:24:22 AM (19 years ago)
Author:
patrick
Message:

trunk: tried to add the command for bvvisibility toggling with depth level. execution results in segfault :(

Location:
trunk/src/lib/collision_detection
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/collision_detection/cd_engine.cc

    r7711 r7739  
    131131
    132132
    133 void CDEngine::drawBV(const ObjectManager::EntityList& drawList ) const
     133void CDEngine::drawBV(const ObjectManager::EntityList& drawList, int level) const
    134134{
    135135  ObjectManager::EntityList::const_iterator entity;
    136136  for (entity = drawList.begin(); entity != drawList.end(); entity++)
    137     (*entity)->drawBVTree(3, 226);
     137    (*entity)->drawBVTree(level, 226);
    138138}
    139139
  • trunk/src/lib/collision_detection/cd_engine.h

    r7713 r7739  
    5353  void checkCollisions(std::list<WorldEntity*>& list1, std::list<WorldEntity*>& list2);
    5454
    55   void drawBV(const std::list<WorldEntity*>& drawList ) const;
     55  void drawBV(const std::list<WorldEntity*>& drawList, int level) const;
    5656  void debug();
    5757
Note: See TracChangeset for help on using the changeset viewer.