Changeset 5110 in orxonox.OLD for trunk/src/lib/coord
- Timestamp:
- Aug 23, 2005, 11:07:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r5108 r5110 79 79 { 80 80 tIterator<PNode>* iterator = this->children->getIterator(); 81 PNode* pn = iterator-> nextElement();81 PNode* pn = iterator->firstElement(); 82 82 while( pn != NULL) 83 83 { … … 435 435 436 436 tIterator<PNode>* iterator = this->children->getIterator(); 437 PNode* pn = iterator-> nextElement();437 PNode* pn = iterator->firstElement(); 438 438 439 439 while( pn != NULL) … … 605 605 { 606 606 tIterator<PNode>* iterator = this->children->getIterator(); 607 PNode* pn = iterator-> nextElement();607 PNode* pn = iterator->firstElement(); 608 608 while( pn != NULL) 609 609 { … … 615 615 616 616 pn->update(dt); 617 //pn = this->children->nextElement();618 617 pn = iterator->nextElement(); 619 618 } … … 656 655 tIterator<PNode>* iterator = this->children->getIterator(); 657 656 //PNode* pn = this->children->enumerate (); 658 PNode* pn = iterator-> nextElement();657 PNode* pn = iterator->firstElement(); 659 658 while( pn != NULL) 660 659 { … … 722 721 if (depth >= 2 || depth == 0) 723 722 { 723 Vector childColor = Color::HSVtoRGB(Color::RGBtoHSV(color)+Vector(20,0,.0)); 724 724 725 tIterator<PNode>* iterator = this->children->getIterator(); 725 //PNode* pn = this->children->enumerate (); 726 Vector childColor = Color::HSVtoRGB(Color::RGBtoHSV(color)+Vector(20,0,.0)); 727 PNode* pn = iterator->nextElement(); 726 PNode* pn = iterator->firstElement(); 728 727 while( pn != NULL) 729 728 {
Note: See TracChangeset
for help on using the changeset viewer.