Changeset 3726 in orxonox.OLD for orxonox/trunk/src/simple_animation.h
- Timestamp:
- Apr 5, 2005, 6:34:33 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/simple_animation.h
r3720 r3726 12 12 13 13 #include "base_object.h" 14 #include "p_node.h"15 14 #include "list.h" 16 15 17 16 17 class Vector; 18 class Quaternion; 19 class WorldEntity; 20 class PNode; 21 18 22 typedef enum movementMode{LINEAR=0, EXP, NEG_EXP, SIN, COS, QUADRATIC}; 23 #define DEFAULT_ANIMATION_MODE LINEAR 19 24 20 21 //! KeyFrame Class 25 //! KeyFrame Struct 22 26 /** 23 27 This represents one point with orientation of the animation 24 28 */ 25 class KeyFrame : public PNode { 26 public: 27 KeyFrame(Vector* point, Quaternion* orientation, float time); 28 KeyFrame(Vector* point, Quaternion* orientation, float time, movementMode mode); 29 virtual ~KeyFrame(); 30 31 void set(Vector* point, Quaternion* orientation, float time); 32 void set(Vector* point, Quaternion* orientation, float time, movementMode mode); 33 29 typedef struct KeyFrame { 30 Vector* position; 31 Quaternion* orientation; 32 WorldEntity* object; 34 33 float time; 35 34 movementMode mode; … … 69 68 PNode* parent; 70 69 71 Vector* tmpVect; //<! this is the temporary vector save place 70 Vector* tmpVect; //<! this is the temporary vector save place - 72 71 73 72 };
Note: See TracChangeset
for help on using the changeset viewer.