Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 8, 2005, 10:59:50 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: further work on the test env, cdengine draw functions, debug functions

File:
1 edited

Legend:

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

    r4546 r4551  
    3030   this->setClassName("CDEngine");
    3131   this->setClassID(CL_CD_ENGINE, "CDEngine");
     32
     33   /* testing purposes only: */
     34   this->rootTree = new OBBTree();
    3235}
    3336
     
    4851
    4952
     53
     54void CDEngine::drawBV(int currentDepth, const int depth) const
     55{
     56  /* this would operate on  worldList bases, for testing purposes, we only use one OBBTree */
     57  this->rootTree->drawBV(currentDepth, depth);
     58}
     59
     60
     61void CDEngine::drawBVPolygon(int currentDepth, const int depth) const
     62{}
     63
     64
     65void CDEngine::drawBVBlended(int currentDepth, const int depth) const
     66{}
     67
     68
     69
    5070void CDEngine::debug()
    5171{
    5272  PRINT(0)("\n=============================| CDEngine::debug() |===\n");
    5373  PRINT(0)("=  CDEngine: Spawning Tree Start\n");
    54 
     74  this->rootTree->debug();
    5575  PRINT(0)("=  CDEngine: Spawning Tree: Finished\n");
    5676  PRINT(0)("=======================================================\n");     
Note: See TracChangeset for help on using the changeset viewer.