Changeset 3247 in orxonox.OLD for orxonox/branches/parenting/src/p_node.h
- Timestamp:
- Dec 22, 2004, 2:12:36 PM (21 years ago)
- Location:
- orxonox/branches/parenting
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/p_node.h
r3246 r3247 14 14 this conditions make it cheaper to recalculate the tree (reduces redundant work). 15 15 16 remember: if you have to change the coordinates , because the object (point) did move,17 don't forget to reset both relCoor and absCoor (offset is the same)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 18 */ 19 19 … … 24 24 #include "stdincl.h" 25 25 26 typedef enum parentingMode {}; 26 27 27 28 class PNode { … … 39 40 void setRelDir (Quaternion relDir); 40 41 Quaternion getAbsDir (); 41 void setAbs Coor (Quaternion absDir);42 void setAbsDir (Quaternion absDir); 42 43 43 44 void addChild (PNode* pNode); 44 45 void removeChild (PNode* pNode); 46 void setParent (PNode* parent); 45 47 46 48 private: … … 54 56 Quaternion absDirection; //! absolute direvtion in the world ( from (0,0,1) ) 55 57 58 PNode* parent; 56 59 tList<PNode>* children; //! list of the children 57 60
Note: See TracChangeset
for help on using the changeset viewer.