Changeset 5391 in orxonox.OLD for trunk/src/lib/coord
- Timestamp:
- Oct 16, 2005, 1:37:41 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.h
r5387 r5391 1 1 /*! 2 @file p_node.h 3 * Definition of a parenting node 4 5 parenting is how coordinates are handled in orxonox, meaning, that all coordinates 6 are representet relative to another parent node. this nodes build a parenting 7 tree of one-sided references (from up to down referenced). 8 Every node manages itself a list of childrens (of whos it is parent - easy...) 9 10 absCoordinate, absDirection have to be recalculated as soon as there was a change in 11 place or ortientation. this is only the case if 12 o bDirChanged is true (so changed) AND timeStamp != now 13 o bCoorChanged is true (so moved) AND timeStamp != now 14 this conditions make it cheaper to recalculate the tree (reduces redundant work). 15 16 remember: if you have to change the coordinates or the directions, use the functions 17 that are defined to execute this operation - otherwhise there will be big problems... 18 */ 2 * @file p_node.h 3 * @brief Definition of a parenting node 4 * 5 * parenting is how coordinates are handled in orxonox, meaning, that all coordinates 6 * are representet relative to another parent node. this nodes build a parenting 7 * tree of one-sided references (from up to down referenced). 8 * Every node manages itself a list of childrens (of whos it is parent - easy...). 9 * 10 * absCoordinate, absDirection have to be recalculated as soon as there was a change in 11 * place or ortientation. this is only the case if 12 * o bDirChanged is true (so changed) AND timeStamp != now 13 * o bCoorChanged is true (so moved) AND timeStamp != now 14 * this conditions make it cheaper to recalculate the tree (reduces redundant work). 15 */ 19 16 20 17
Note: See TracChangeset
for help on using the changeset viewer.