Changeset 3551 in orxonox.OLD for orxonox/trunk/src/lib
- Timestamp:
- Mar 14, 2005, 11:46:50 PM (20 years ago)
- Location:
- orxonox/trunk/src/lib/coord
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/null_parent.cc
r3545 r3551 72 72 worry, normaly... 73 73 */ 74 void NullParent::update ( float timeStamp)74 void NullParent::update () 75 75 { 76 76 … … 87 87 if( this->bRelDirChanged || this->bAbsDirChanged) 88 88 pn->parentDirChanged (); 89 pn->update ( timeStamp);89 pn->update (); 90 90 pn = this->children->nextElement (); 91 91 } -
orxonox/trunk/src/lib/coord/null_parent.h
r3544 r3551 20 20 static NullParent* singletonRef; 21 21 22 virtual void update ( float timeStamp);22 virtual void update (); 23 23 24 24 private: -
orxonox/trunk/src/lib/coord/p_node.cc
r3547 r3551 13 13 ### File Specific: 14 14 main-programmer: Patrick Boenzli 15 co-programmer: ... 16 17 \todo Null-Parent => center of the coord system - singleton 15 co-programmer: 16 18 17 \todo Smooth-Parent: delay, speed 19 \todo destroy the stuff again, delete...20 18 */ 21 19 … … 109 107 delete &this->absDirection; 110 108 */ 111 this->parent = NULL;109 //this->parent = NULL; 112 110 /* there is currently a problem with cleaning up - fix*/ 113 111 112 114 113 PNode* pn = this->children->enumerate(); 115 114 while( pn != NULL) … … 117 116 pn = this->children->nextElement(); 118 117 delete pn; 119 } 118 } 119 120 120 /* this deletes all children in the list */ 121 121 delete this->children; … … 429 429 worry, normaly... 430 430 */ 431 void PNode::update ( float timeStamp)431 void PNode::update () 432 432 { 433 433 PRINTF(2)("PNode::update - %s - (%f, %f, %f)\n", this->objectName, this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z); … … 493 493 if( this->bRelDirChanged || this->bAbsDirChanged) 494 494 pn->parentDirChanged (); 495 pn->update( timeStamp);495 pn->update(); 496 496 pn = this->children->nextElement(); 497 497 } … … 511 511 void PNode::processTick (float dt) 512 512 { 513 this->tick (dt);513 //this->tick (dt); 514 514 PNode* pn = this->children->enumerate(); 515 515 while( pn != NULL) … … 520 520 } 521 521 522 /**523 \param dt time to tick524 */525 void PNode::tick (float dt)526 {}527 522 528 523 /** -
orxonox/trunk/src/lib/coord/p_node.h
r3544 r3551 74 74 parentingMode getMode(); 75 75 76 virtual void update ( float timeStamp);76 virtual void update (); 77 77 void processTick (float dt); 78 virtual void tick (float dt);79 78 80 79 void setName (char* newName);
Note: See TracChangeset
for help on using the changeset viewer.