Changeset 3433 in orxonox.OLD for orxonox/trunk/src/curve.h
- Timestamp:
- Mar 1, 2005, 2:36:56 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/curve.h
r3365 r3433 23 23 Vector curvePoint; //!< The point on the Cureve at a local Time. 24 24 float localTime; //!< If the time of one point is asked more than once the programm will not calculate it again. 25 Curve* dirCurve; //!< The derivation-curve of this Curve.26 25 int derivation; //!< Which derivation of a Curve is this. 27 26 … … 42 41 virtual void rebuild(void) = 0; 43 42 public: 43 Curve* dirCurve; //!< The derivation-curve of this Curve. 44 44 void addNode(const Vector& newNode); 45 void addNode(const Vector& newNode, unsigned int insertPosition); 45 46 Vector getNode(unsigned int nodeToFind); 46 47 inline int getNodeCount(void) { return this->nodeCount;} … … 48 49 virtual Vector calcPos(float t) = 0; 49 50 virtual Vector calcDir(float t) = 0; 51 virtual Vector calcAcc(float t) = 0; 50 52 virtual Quaternion calcQuat(float t) = 0; 51 53 54 // DEBUG 55 void debug(void); 52 56 }; 53 57 … … 69 73 Vector calcPos(float t); 70 74 Vector calcDir(float t); 75 Vector calcAcc(float t); 71 76 Quaternion calcQuat(float t); 72 77 … … 105 110 Vector calcPos(float t); 106 111 Vector calcDir(float t); 112 Vector calcAcc(float t); 107 113 Quaternion calcQuat(float t); 108 114
Note: See TracChangeset
for help on using the changeset viewer.