Changeset 3729 in orxonox.OLD for orxonox/trunk/src/simple_animation.h
- Timestamp:
- Apr 5, 2005, 11:51:15 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/simple_animation.h
r3727 r3729 25 25 //! KeyFrame Struct 26 26 /** 27 This represents one point with orientation of the animation27 This represents one point with direction of the animation 28 28 */ 29 29 typedef struct KeyFrame { 30 30 Vector* position; 31 Quaternion* orientation;31 Quaternion* direction; 32 32 WorldEntity* object; 33 33 float time; … … 45 45 static SimpleAnimation* getInstance(); 46 46 47 void AnimatorBegin();48 void AnimatorEnd();47 void animatorBegin(); 48 void animatorEnd(); 49 49 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); 52 52 void addKeyFrame(KeyFrame* frame); 53 53 void reset(); … … 71 71 KeyFrame* currentFrame; //<! the frame that is been played now 72 72 KeyFrame* lastFrame; 73 Vector* lastPosition; 73 74 movementMode mode; //<! this is an enum of the mode, how the speed is distributed 74 75 float localTime;
Note: See TracChangeset
for help on using the changeset viewer.