Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

orxonox/trunk: changed (void) → ()

Location:
orxonox/trunk/src/lib/physics
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/physics/fields/field.cc

    r4730 r4746  
    4444  \brief initializes a Field
    4545*/
    46 void Field::init(void)
     46void Field::init()
    4747{
    4848  this->setClassID(CL_FIELD, "Field");
  • orxonox/trunk/src/lib/physics/fields/field.h

    r4730 r4746  
    3838  virtual ~Field();
    3939
    40   void init(void);
     40  void init();
    4141  void loadParams(const TiXmlElement* root);
    4242
     
    4949  void setMagnitude(float magnitude);
    5050  /** \returns The Magnitude of the Field */
    51   inline const float& getMagnitude(void) const {return this->magnitude;}
     51  inline const float& getMagnitude() const {return this->magnitude;}
    5252
    5353  void setAttenuation(float attenuation);
    5454  /** \returns The Attenuation of the Fiels */
    55   inline const float& getAttenuation(void) const {return this->attenuation;}
     55  inline const float& getAttenuation() const {return this->attenuation;}
    5656
    5757 private:
  • orxonox/trunk/src/lib/physics/physics_connection.cc

    r4731 r4746  
    101101    \brief applies the Force to some Object.
    102102*/
    103 void PhysicsConnection::apply(void) const
     103void PhysicsConnection::apply() const
    104104{
    105105  if (likely(this->type == PCON_PhysIField && this->field->getMagnitude() != 0.0
  • orxonox/trunk/src/lib/physics/physics_connection.h

    r4731 r4746  
    3737  void setField(const char* fieldName);
    3838
    39   void apply(void) const;
     39  void apply() const;
    4040
    4141 private:
  • orxonox/trunk/src/lib/physics/physics_engine.cc

    r4733 r4746  
    3131   \brief standard constructor
    3232*/
    33 PhysicsEngine::PhysicsEngine(void)
     33PhysicsEngine::PhysicsEngine()
    3434{
    3535  this->setClassID(CL_PHYSICS_ENGINE, "PhysicsEngine");
     
    4949
    5050*/
    51 PhysicsEngine::~PhysicsEngine(void)
     51PhysicsEngine::~PhysicsEngine()
    5252{
    5353  PhysicsEngine::singletonRef = NULL;
     
    268268   \brief print out interesting debug information of this class
    269269*/
    270 void PhysicsEngine::debug(void) const
     270void PhysicsEngine::debug() const
    271271{
    272272  PRINT(0)("====================================\n");
  • orxonox/trunk/src/lib/physics/physics_engine.h

    r4733 r4746  
    2222
    2323 public:
    24   virtual ~PhysicsEngine(void);
     24  virtual ~PhysicsEngine();
    2525  /** \returns a Pointer to the only object of this Class */
    26   inline static PhysicsEngine* getInstance(void) { if (!singletonRef) singletonRef = new PhysicsEngine();  return singletonRef; };
     26  inline static PhysicsEngine* getInstance() { if (!singletonRef) singletonRef = new PhysicsEngine();  return singletonRef; };
    2727
    2828  void loadParams(const TiXmlElement* root);
     
    4545  void                   tick(float dt);
    4646
    47   void                   debug(void) const;
     47  void                   debug() const;
    4848
    4949 private:
    50   PhysicsEngine(void);
     50  PhysicsEngine();
    5151
    5252 private:
Note: See TracChangeset for help on using the changeset viewer.