Changeset 9705 in orxonox.OLD for branches/new_class_id/src/util/animation/animation.h
- Timestamp:
- Aug 25, 2006, 9:44:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/util/animation/animation.h
r6222 r9705 73 73 class Animation : public BaseObject 74 74 { 75 public: 75 NewObjectListDeclaration(Animation); 76 public: 76 77 virtual ~Animation(); 77 78 … … 95 96 inline bool ifDelete() { return bDelete; }; 96 97 97 98 protected: 98 99 Animation(); 99 100 100 101 void handleInfinity(); 101 102 102 103 protected: 103 104 // variables 104 105 float localTime; //!< The Time passed since the beginning of the currentKeyFrame. … … 119 120 class aTest 120 121 { 121 122 public: 122 123 inline aTest() { last = 0.0;} 123 124 /** a little debug information to show the results of this class @param f new value */ 124 125 inline void littleDebug(float f) { diff = f - last; printf("f=%f, diff=%f\n", f,diff); last = f;} 125 126 private: 126 127 float diff; //!< difference from the last value 127 128 float last; //!< the last calculated value
Note: See TracChangeset
for help on using the changeset viewer.