Changeset 5382 in orxonox.OLD for trunk/src/lib/coord/p_node.h
- Timestamp:
- Oct 15, 2005, 8:22:30 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.h
r5356 r5382 96 96 97 97 98 void addChild (PNode* child , int parentingMode = PNODE_PARENT_MODE_DEFAULT);98 void addChild (PNode* child); 99 99 void addChild (const char* childName); 100 100 void removeChild (PNode* child); … … 106 106 PNode* getParent () const { return this->parent; }; 107 107 108 void s oftReparent(PNode* parentNode, float bias = 1.0);109 void s oftReparent(const char* parentName, float bias = 1.0);108 void setParentSoft(PNode* parentNode, float bias = 1.0); 109 void setParentSoft(const char* parentName, float bias = 1.0); 110 110 111 111 /** @param parentMode sets the parentingMode of this Node */ … … 118 118 119 119 void debug (unsigned int depth = 1, unsigned int level = 0) const; 120 void debugDraw(unsigned int depth = 1, float size = 1.0, Vectorcolor = Vector(1,1,1)) const;120 void debugDraw(unsigned int depth = 1, float size = 1.0, const Vector& color = Vector(1,1,1)) const; 121 121 122 122 … … 150 150 Vector velocity; //!< Saves the velocity. 151 151 152 Vector* toCoordinate; //!< a position to which to iterate. (This is used in conjunction with s oftReparent.and set*CoorSoft)153 Quaternion* toDirection; //!< a direction to which to iterate. (This is used in conjunction with s oftReparent and set*DirSoft)152 Vector* toCoordinate; //!< a position to which to iterate. (This is used in conjunction with setParentSoft.and set*CoorSoft) 153 Quaternion* toDirection; //!< a direction to which to iterate. (This is used in conjunction with setParentSoft and set*DirSoft) 154 154 float bias; //!< how fast to iterate to the given position (default is 1) 155 155
Note: See TracChangeset
for help on using the changeset viewer.