Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 27, 2005, 1:27:56 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now painting the BV's again…. no error due to my change in the static model…. puh :)

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

Legend:

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

    r6222 r6316  
    195195
    196196
     197void CDEngine::drawBV(const std::list<WorldEntity*>& drawList ) const
     198{
     199  std::list<WorldEntity*>::const_iterator entity;
     200  for (entity = drawList.begin(); entity != drawList.end(); entity++)
     201    if ((*entity)->isVisible())
     202      (*entity)->drawBVTree(3, 226);
     203}
     204
    197205/**
    198206 * this draws the debug spawn tree
  • trunk/src/lib/collision_detection/cd_engine.h

    r6142 r6316  
    5757  void checkCollisions(std::list<WorldEntity*>& list1, std::list<WorldEntity*>& list2);
    5858
     59  void drawBV(const std::list<WorldEntity*>& drawList ) const;
    5960  void debug();
    6061
Note: See TracChangeset for help on using the changeset viewer.