Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4711 in orxonox.OLD


Ignore:
Timestamp:
Jun 26, 2005, 10:17:03 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now the displayer show the data in an appropriate form

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

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

    r4710 r4711  
    840840  if( drawMode & DRAW_BV_POLYGON || drawMode & DRAW_ALL || drawMode & DRAW_BV_BLENDED)
    841841  {
    842     if(this->nodeLeft == NULL && this->nodeRight == NULL)
     842    if(this->nodeLeft == NULL || this->nodeRight == NULL)
    843843      depth = 0;
    844844    if( !(drawMode & DRAW_SINGLE && depth != 0))
  • orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc

    r4710 r4711  
    7979  entityList = new tList<WorldEntity>();
    8080
    81   a = new TestEntity(); a->setName("Clown1");
    82   b = new Environment(); a->setName("Clown");
     81   a = new TestEntity(); a->setName("Clown1");
     82   b = new Environment(); a->setName("Clown");
    8383  //b = new Environment(); b->setName("Jaeger");
    8484  //c = new Terrain();
    8585
    86   b->setRelCoor(0.0, 0.0, -10.0);
     86   b->setRelCoor(0.0, 0.0, -10.0);
    8787  //b->setRelDir(Quaternion(-M_PI/2.0f, Vector(0.0, 1.0, 0.0)));
    8888
    89   entityList->add(a);
    90   entityList->add(b);
     89   entityList->add(a);
     90   entityList->add(b);
    9191
    9292  CDEngine::getInstance()->setEntityList(entityList);
     
    248248void Framework::moduleDraw() const
    249249{
    250   //CDEngine::getInstance()->debugDraw(depth, drawMode);
     250  CDEngine::getInstance()->debugDraw(depth, drawMode);
    251251
    252252  tIterator<WorldEntity>* iterator = entityList->getIterator();
Note: See TracChangeset for help on using the changeset viewer.