Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3729 in orxonox.OLD for orxonox/trunk/src/simple_animation.h


Ignore:
Timestamp:
Apr 5, 2005, 11:51:15 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: simple animation is moving, but not realy what it should

File:
1 edited

Legend:

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

    r3727 r3729  
    2525//! KeyFrame Struct
    2626/**
    27    This represents one point with orientation of the animation
     27   This represents one point with direction of the animation
    2828*/
    2929typedef struct KeyFrame {
    3030  Vector* position;
    31   Quaternion* orientation;
     31  Quaternion* direction;
    3232  WorldEntity* object;
    3333  float time;
     
    4545  static SimpleAnimation* getInstance();
    4646
    47   void AnimatorBegin();
    48   void AnimatorEnd();
     47  void animatorBegin();
     48  void animatorEnd();
    4949  void selectObject(WorldEntity* entity);
    50   void addKeyFrame(Vector* point, Quaternion* orientation, float time);
    51   void addKeyFrame(Vector* point, Quaternion* orientation, float time, movementMode mode);
     50  void addKeyFrame(Vector* point, Quaternion* direction, float time);
     51  void addKeyFrame(Vector* point, Quaternion* direction, float time, movementMode mode);
    5252  void addKeyFrame(KeyFrame* frame);
    5353  void reset();
     
    7171  KeyFrame* currentFrame;          //<! the frame that is been played now
    7272  KeyFrame* lastFrame;
     73  Vector* lastPosition;
    7374  movementMode mode;               //<! this is an enum of the mode, how the speed is distributed
    7475  float localTime;
Note: See TracChangeset for help on using the changeset viewer.