- Timestamp:
- Apr 17, 2005, 5:42:26 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/animation3d.h
r3855 r3859 36 36 virtual void tick(float dt); 37 37 38 private: 38 39 // animation functions 39 40 void setAnimFunc(ANIM_FUNCTION animFunc); 40 41 private:42 41 void constant(float timePassed) const; 43 42 void linear(float timePassed) const; -
orxonox/trunk/src/t_animation.h
r3858 r3859 30 30 virtual ~tAnimation(); 31 31 32 void setFuncToAnim(T* object, void (T::*funcToAnim)(float)); 33 34 void addKeyFrame(float value, float duration, ANIM_FUNCTION animFunc = ANIM_LINEAR); 35 32 36 virtual void rewind(); 33 34 void setFuncToAnim(T* object, void (T::*funcToAnim)(float));35 void addKeyFrame(float value, float duration, ANIM_FUNCTION animFunc = ANIM_LINEAR);36 37 37 virtual void tick(float dt); 38 38 39 private: 39 40 // animation functions 40 41 void setAnimFunc(ANIM_FUNCTION animFunc); 41 42 private:43 44 42 float constant(float timePassed) const; 45 43 float linear(float timePassed) const; … … 63 61 64 62 float expFactor; //!< some factors 65 66 63 }; 67 64
Note: See TracChangeset
for help on using the changeset viewer.