Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Mar 14, 2005, 11:46:50 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: renamed all timing functions to tick() - cleanede up world

File:
1 edited

Legend:

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

    r3547 r3551  
    1313   ### File Specific:
    1414   main-programmer: Patrick Boenzli
    15    co-programmer: ...
    16 
    17    \todo Null-Parent => center of the coord system - singleton
     15   co-programmer:
     16
    1817   \todo Smooth-Parent: delay, speed
    19    \todo destroy the stuff again, delete...
    2018*/
    2119
     
    109107  delete &this->absDirection;
    110108  */
    111   this->parent = NULL;
     109  //this->parent = NULL;
    112110  /* there is currently a problem with cleaning up - fix*/
    113111
     112 
    114113  PNode* pn = this->children->enumerate();
    115114  while( pn != NULL)
     
    117116      pn = this->children->nextElement();
    118117      delete pn;
    119     }
     118    }
     119   
    120120  /* this deletes all children in the list */
    121121  delete this->children;
     
    429429   worry, normaly...
    430430*/
    431 void PNode::update (float timeStamp)
     431void PNode::update ()
    432432{
    433433  PRINTF(2)("PNode::update - %s - (%f, %f, %f)\n", this->objectName, this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z);
     
    493493      if( this->bRelDirChanged || this->bAbsDirChanged)
    494494        pn->parentDirChanged ();
    495       pn->update(timeStamp);
     495      pn->update();
    496496      pn = this->children->nextElement();
    497497    }
     
    511511void PNode::processTick (float dt)
    512512{
    513   this->tick (dt);
     513  //this->tick (dt);
    514514  PNode* pn = this->children->enumerate();
    515515  while( pn != NULL)
     
    520520}
    521521
    522 /**
    523    \param dt time to tick
    524 */
    525 void PNode::tick (float dt)
    526 {}
    527522
    528523/**
Note: See TracChangeset for help on using the changeset viewer.