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/twirl.cc

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