Changeset 3320 in orxonox.OLD for orxonox/branches/parenting/src/curve.h
- Timestamp:
- Jan 3, 2005, 12:23:41 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/curve.h
r3319 r3320 25 25 { 26 26 int number; //!< The N-th node of this curve. 27 float factor; //!< Curve specific multiplier factor. 27 28 Vector position; //!< Vector Pointung to this curve-point. 28 29 PathNode* next; //!< Pointer to the next Node. … … 32 33 PathNode* currentNode; //!< The node we are working with (the Last node). 33 34 35 private: 36 virtual void rebuild(void) = 0; 34 37 public: 35 38 void addNode (const Vector& newNode); … … 46 49 { 47 50 private: 48 // all from Curve-Class51 void rebuild(void); 49 52 public: 50 BezierCurve (void); 51 ~BezierCurve (void); 52 Vector calcPos (float t); 53 Vector calcDir (float t); 54 Quaternion calcQuat (float t); 53 BezierCurve(void); 54 ~BezierCurve(void); 55 56 Vector calcPos(float t); 57 Vector calcDir(float t); 58 Quaternion calcQuat(float t); 55 59 56 60 … … 70 74 71 75 72 int ncr(int n, int i);73 74 75 76 #endif /* _CURVE_H */
Note: See TracChangeset
for help on using the changeset viewer.