Changeset 3595 in orxonox.OLD for orxonox/trunk/src/lib/math/curve.h
- Timestamp:
- Mar 17, 2005, 5:44:56 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/math/curve.h
r3588 r3595 13 13 14 14 //! An Enumerator that defines what sort of Curves are availible 15 enum CurveType {BEZIERCURVE , UPOINTCURVE};15 enum CurveType {BEZIERCURVE}; 16 16 17 17 … … 93 93 }; 94 94 95 //! Uniform Point Curve-class96 /**97 A UPoint Curve is a A Curve, that flows through all the nodes given it.98 The Algorithm to buid the curve is rather slow, but Painting and tracing along the curve has high speed, so do not change this curve during the Game.99 100 This Curve is very erattic, so i do not recommend to use it.101 */102 class UPointCurve : public Curve103 {104 private:105 void rebuild(void);106 public:107 UPointCurve(void);108 UPointCurve(int derivation);109 ~UPointCurve(void);110 111 Vector calcPos(float t);112 Vector calcDir(float t);113 Vector calcAcc(float t);114 Quaternion calcQuat(float t);115 116 Vector getPos(void) const;117 };118 119 95 #endif /* _CURVE_H */
Note: See TracChangeset
for help on using the changeset viewer.