Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2005, 6:56:00 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: speeded up the QuickAnimation-getValue-function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/particles/quick_animation.h

    r4597 r4654  
    2121   this class is optimized for a raising value. eg. 100 particles sorted
    2222   by age.
    23   \todo speedUP this stuff (especially getValue)
    2423*/
    2524class QuickAnimation : public BaseObject {
     
    3433
    3534    QuickKeyFrame*   next;              //!< The next Animation
     35    QuickKeyFrame*   prev;              //!< The previous QuickKeyFrame
    3636  };
    3737
     
    3939  virtual ~QuickAnimation();
    4040
    41   bool addEntry(float position, float value);
    42   bool changeEntry(float position, float value, float region = .04);
     41  void addEntry(float position, float value);
     42  void changeEntry(float position, float value, float region = .04);
    4343
    4444  /** \todo implemente thos functions
     
    5252
    5353 private:
    54   QuickKeyFrame*       first;          //!< The first KeyFrame in a Sequence of Keyframes
    55   QuickKeyFrame*       current;        //!< The currently selected KeyFrame
     54  QuickKeyFrame*       first;          //!< The first KeyFrame in a Sequence of Keyframes.
     55  QuickKeyFrame*       current;        //!< The currently selected KeyFrame.
     56  unsigned int         count;          //!< How many Keyframes the QuickAnimation has.
    5657};
    5758
Note: See TracChangeset for help on using the changeset viewer.