Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3546 in orxonox.OLD for orxonox/trunk/src/lib/coord/p_node.cc


Ignore:
Timestamp:
Mar 14, 2005, 6:21:37 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: fixed a bug in the update phase, added real debug output bensch style

File:
1 edited

Legend:

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

    r3545 r3546  
    327327  if( pNode->parent != NULL )
    328328    {
    329       printf("PNode::addChild() - removing child from old parent \n");
    330329      PRINTF(2)("PNode::addChild() - reparenting node: removing it and adding it again\n");
    331330      pNode->parent->removeChild(pNode);
     
    334333  pNode->parent = this;
    335334  this->children->add(pNode);
    336   printf("PNode::addChild() - Parent added\n");
    337335}
    338336
     
    441439void PNode::update (float timeStamp)
    442440{
    443   printf ("PNode::update - %s - (%f, %f, %f)\n", this->objectName, this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z);
     441  PRINTF(2)("PNode::update - %s - (%f, %f, %f)\n", this->objectName, this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z);
    444442  // printf("%s", this->objectName);
    445443
     
    541539void PNode::debug()
    542540{
    543   printf("PNode::debug() - absCoord: (%f, %f, %f)\n",
     541  PRINTF(2)("PNode::debug() - absCoord: (%f, %f, %f)\n",
    544542         this->absCoordinate.x,
    545543         this->absCoordinate.y,
Note: See TracChangeset for help on using the changeset viewer.