Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3859 in orxonox.OLD for orxonox/trunk/src/t_animation.h


Ignore:
Timestamp:
Apr 17, 2005, 5:42:26 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: minor change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/t_animation.h

    r3858 r3859  
    3030  virtual ~tAnimation();
    3131
     32  void setFuncToAnim(T* object, void (T::*funcToAnim)(float));
     33
     34  void addKeyFrame(float value, float duration, ANIM_FUNCTION animFunc = ANIM_LINEAR);
     35
    3236  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 
    3737  virtual void tick(float dt);
    3838
     39 private:
    3940  // animation functions
    4041  void setAnimFunc(ANIM_FUNCTION animFunc);
    41 
    42  private:
    43 
    4442  float constant(float timePassed) const;
    4543  float linear(float timePassed) const;
     
    6361
    6462  float expFactor;                                //!< some factors
    65 
    6663};
    6764
Note: See TracChangeset for help on using the changeset viewer.