Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3595 in orxonox.OLD for orxonox/trunk/src/lib/math/curve.h


Ignore:
Timestamp:
Mar 17, 2005, 5:44:56 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: deleted the UPOINTCURVE was very bad.
also deleted matrix.cc because of some license problems, and we do not need all the functions (and it can't even work with the vector-class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/math/curve.h

    r3588 r3595  
    1313
    1414//! An Enumerator that defines what sort of Curves are availible
    15 enum CurveType {BEZIERCURVE, UPOINTCURVE};
     15enum CurveType {BEZIERCURVE};
    1616
    1717
     
    9393};
    9494
    95 //! Uniform Point Curve-class
    96 /**
    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 Curve
    103 {
    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 
    11995#endif /* _CURVE_H */
Note: See TracChangeset for help on using the changeset viewer.