Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4746 in orxonox.OLD for orxonox/trunk/src/lib/math


Ignore:
Timestamp:
Jul 1, 2005, 12:48:48 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: changed (void) → ()

Location:
orxonox/trunk/src/lib/math
Files:
3 edited

Legend:

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

    r4472 r4746  
    3636    \brief default constructor for a Curve
    3737*/
    38 Curve::Curve(void)
     38Curve::Curve()
    3939{
    4040  nodeCount = 0;
     
    128128   \brief Outputs information about the state of this Curve
    129129*/
    130 void Curve::debug(void)
     130void Curve::debug()
    131131{
    132132  printf("<<-------------------------------\n");
     
    150150   \brief Creates a new BezierCurve
    151151*/
    152 BezierCurve::BezierCurve (void)
     152BezierCurve::BezierCurve ()
    153153{
    154154  this->derivation = 0;
     
    170170   It does this by freeing all the space taken over from the nodes
    171171*/
    172 BezierCurve::~BezierCurve(void)
     172BezierCurve::~BezierCurve()
    173173{
    174174  PathNode* tmpNode;
     
    187187   \brief Rebuilds a Curve
    188188*/
    189 void BezierCurve::rebuild(void)
     189void BezierCurve::rebuild()
    190190{
    191191  PathNode* tmpNode = firstNode;
     
    291291  \return a Vector to the calculated position
    292292*/
    293 Vector BezierCurve::getPos(void) const
     293Vector BezierCurve::getPos() const
    294294{
    295295  return curvePoint;
  • orxonox/trunk/src/lib/math/curve.h

    r4597 r4746  
    3131
    3232 public:
    33   Curve(void);
     33  Curve();
    3434
    3535  void addNode(const Vector& newNode);
     
    3737  Vector getNode(unsigned int nodeToFind);
    3838  /** \returns the count of nodes in this curve */
    39   inline int getNodeCount(void) const { return this->nodeCount; };
     39  inline int getNodeCount() const { return this->nodeCount; };
    4040  /** \returns the directional Curve */
    41   Curve* getDirCurve(void) const { return this->dirCurve; };
     41  Curve* getDirCurve() const { return this->dirCurve; };
    4242
    4343  /** \param t the value on the curve [0-1] \returns Vector to the position */
     
    5151
    5252  // DEBUG
    53   void debug(void);
     53  void debug();
    5454
    5555 private:
    5656  /** \brief rebuilds the curve */
    57   virtual void rebuild(void) = 0;
     57  virtual void rebuild() = 0;
    5858
    5959 protected:
     
    7878{
    7979 public:
    80   BezierCurve(void);
     80  BezierCurve();
    8181  BezierCurve(int derivation);
    82   virtual ~BezierCurve(void);
     82  virtual ~BezierCurve();
    8383
    8484  virtual Vector calcPos(float t);
     
    8888
    8989
    90   Vector getPos(void) const;
     90  Vector getPos() const;
    9191
    9292 private:
    93   void rebuild(void);
     93  void rebuild();
    9494};
    9595
  • orxonox/trunk/src/lib/math/vector.cc

    r4611 r4746  
    5959   \brief Outputs the values of the Vector
    6060*/
    61 void Vector::debug(void) const
     61void Vector::debug() const
    6262{
    6363  PRINT(0)("Vector Debug information\n");
     
    391391   \brief outputs some nice formated debug information about this quaternion
    392392*/
    393 void Quaternion::debug(void)
     393void Quaternion::debug()
    394394{
    395395  PRINT(0)("Quaternion Debug Information\n");
Note: See TracChangeset for help on using the changeset viewer.