Changeset 3851 in orxonox.OLD for orxonox/trunk/src/simple_animation.h
- Timestamp:
- Apr 17, 2005, 1:21:59 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/simple_animation.h
r3850 r3851 18 18 class Vector; 19 19 class Quaternion; 20 class WorldEntity;21 20 class PNode; 22 21 … … 33 32 Vector* position; 34 33 Quaternion* direction; 35 WorldEntity* object;34 PNode* object; 36 35 float time; 37 36 movementMode mode; … … 58 57 void setAnimFunc(ANIM_FUNCTION animFunc); 59 58 59 private: 60 60 float constant(float timePassed) const; 61 61 float linear(float timePassed) const; … … 73 73 74 74 // private 75 WorldEntity* object;75 PNode* object; 76 76 Vector* lastPosition; 77 77 Vector* tmpVect; … … 100 100 void animatorBegin(); 101 101 void animatorEnd(); 102 void selectObject( WorldEntity* entity);102 void selectObject(PNode* entity); 103 103 void addKeyFrame(Vector* point, Quaternion* direction, float time); 104 104 void addKeyFrame(Vector* point, Quaternion* direction, float time, movementMode mode); … … 132 132 133 133 Vector* tmpVect; //<! this is the temporary vector save place - 134 WorldEntity* workingObject; //<! this is a pointer to the current working object that has been selected via selectObject()134 PNode* workingObject; //<! this is a pointer to the current working object that has been selected via selectObject() 135 135 Animation3D* workingAnimator; //<! the animator with which you are currently working 136 136 float deltaT; //<! this is a time constant for the movement 137 137 138 Animation3D* getAnimationFrom WorldEntity(WorldEntity* entity);138 Animation3D* getAnimationFromPNode(PNode* entity); 139 139 140 140 };
Note: See TracChangeset
for help on using the changeset viewer.