C# Class PsmFramework.Engines.CyclonePhysics2d.Forces.Spring2d

Inheritance: ForceGenerator2dBase
Mostra file Open project: artwallace/PsmFramework

Public Methods

Method Description
Spring2d ( Particle2dBase particle, Particle2dBase other, System.Single springConstant, System.Single restLength ) : System
UpdateForce ( System.Single duration ) : void

Method Details

Spring2d() public method

public Spring2d ( Particle2dBase particle, Particle2dBase other, System.Single springConstant, System.Single restLength ) : System
particle Particle2dBase
other Particle2dBase
springConstant System.Single
restLength System.Single
return System

UpdateForce() public method

public UpdateForce ( System.Single duration ) : void
duration System.Single
return void