Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2005, 2:19:41 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: fields are now time-independant

File:
1 edited

Legend:

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

    r4338 r4395  
    4545   \returns The force.
    4646*/
    47 Vector PointGravity::calcForce(float dt, const Vector& data) const
     47Vector PointGravity::calcForce(const Vector& data) const
    4848{
    49   return (this->getAbsCoor() - data) * this->getMagnitude() * dt;
     49  return (this->getAbsCoor() - data) * this->getMagnitude();
    5050}
    5151
Note: See TracChangeset for help on using the changeset viewer.