Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5394 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Oct 16, 2005, 4:32:53 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: drawing dependency-graph of PNode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/coord/p_node.cc

    r5383 r5394  
    765765    while( pn != NULL)
    766766    {
     767      // drawing the Dependency graph
     768      if (this != NullParent::getInstance())
     769      {
     770       glBegin(GL_LINES);
     771       glColor3f(color.x, color.y, color.z);
     772       glVertex3f(this->getAbsCoor ().x,
     773                  this->getAbsCoor ().y,
     774                  this->getAbsCoor ().z);
     775        glColor3f(childColor.x, childColor.y, childColor.z);
     776        glVertex3f(pn->getAbsCoor ().x,
     777                   pn->getAbsCoor ().y,
     778                   pn->getAbsCoor ().z);
     779        glEnd();
     780      }
    767781      if (depth == 0)
    768782        pn->debugDraw(0, size, childColor, level+1);
Note: See TracChangeset for help on using the changeset viewer.