Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 14, 2005, 10:57:14 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/physics: forces now time dependant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/physics/src/util/physics/fields/point_gravity.cc

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