Changeset 5382 in orxonox.OLD for trunk/src/lib/graphics/render2D/element_2d.h
- Timestamp:
- Oct 15, 2005, 8:22:30 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.h
r5378 r5382 155 155 Element2D* getParent () const { return this->parent; }; 156 156 157 void s oftReparent2D(Element2D* parentNode, float bias = 1.0);158 void s oftReparent2D(const char* parentName, float bias = 1.0);157 void setParentSoft2D(Element2D* parentNode, float bias = 1.0); 158 void setParentSoft2D(const char* parentName, float bias = 1.0); 159 159 160 160 /** @param parentMode sets the parentingMode of this Node */ … … 207 207 Vector lastAbsCoordinate; //!< this is used for speedcalculation, it stores the last coordinate 208 208 float prevRelDirection; //!< The last Relative Direciton from the last update-Cycle. 209 // float lastAbsDirection;210 209 211 210 Vector velocity; //!< Saves the velocity. 212 211 213 Vector* toCoordinate; //!< a position to which to iterate. (This is used in conjunction with s oftReparent.and set*CoorSoft)214 float* toDirection; //!< a direction to which to iterate. (This is used in conjunction with s oftReparent and set*DirSoft)212 Vector* toCoordinate; //!< a position to which to iterate. (This is used in conjunction with setParentSoft.and set*CoorSoft) 213 float* toDirection; //!< a direction to which to iterate. (This is used in conjunction with setParentSoft and set*DirSoft) 215 214 float bias; //!< how fast to iterate to the given position (default is 1) 216 215
Note: See TracChangeset
for help on using the changeset viewer.