Changeset 3607 in orxonox.OLD for orxonox/trunk/src/lib/coord/null_parent.cc
- Timestamp:
- Mar 20, 2005, 10:38:59 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/null_parent.cc
r3591 r3607 19 19 20 20 #include "null_parent.h" 21 #include "stdincl.h" 21 22 22 23 … … 51 52 this->parent = this; 52 53 this->mode = PNODE_ALL; 53 this->absCoordinate = *absCoordinate;54 *this->absCoordinate = *absCoordinate; 54 55 this->setName("NullParent"); 55 56 } … … 77 78 { 78 79 79 PRINTF(4)("NullParent::update - (%f, %f, %f)\n", this->absCoordinate .x, this->absCoordinate.y, this->absCoordinate.z);80 this->absCoordinate =this->relCoordinate;81 this->absDirection = parent->getAbsDir () *this->relDirection;80 PRINTF(4)("NullParent::update - (%f, %f, %f)\n", this->absCoordinate->x, this->absCoordinate->y, this->absCoordinate->z); 81 *this->absCoordinate = *this->relCoordinate; 82 *this->absDirection = parent->getAbsDir () * *this->relDirection; 82 83 83 84 PNode* pn = this->children->enumerate ();
Note: See TracChangeset
for help on using the changeset viewer.