Changeset 4991 in orxonox.OLD for orxonox/trunk
- Timestamp:
- Aug 12, 2005, 5:22:08 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib/coord
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r4990 r4991 483 483 parentNode->addChild(this); 484 484 485 /* if (this->parentMode & PNODE_ROTATE_MOVEMENT) 486 this->setRelCoor(parent->getRelDir().apply(tmpV - parent->getAbsCoor())); 487 else*/ 485 488 this->setRelCoor(tmpV - parentNode->getAbsCoor()); 489 486 490 this->setRelDir(tmpQ - parentNode->getAbsDir()); 487 491 } -
orxonox/trunk/src/lib/coord/p_node.h
r4990 r4991 41 41 // special linkage modes 42 42 PNODE_ALL = 3, //!< Moves all children around the center of their parent, and also rotates their centers 43 PNODE_ROTATE_AND_MOVE = 5 //!< Rotates all children around their axis, and moves them as the Parent Moves, but does not rotate around the center of their parent.43 PNODE_ROTATE_AND_MOVE = 5 //!< Rotates all children around their axis, and moves them as the Parent Moves, but does not rotate around the center of their parent. 44 44 45 45 } PARENT_MODE;
Note: See TracChangeset
for help on using the changeset viewer.