C# Class PsmFramework.Engines.CyclonePhysics3d.Forces.Spring3d

Inheritance: ForceGenerator3dBase
显示文件 Open project: artwallace/PsmFramework

Public Methods

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

Method Details

Spring3d() public method

public Spring3d ( Particle3dBase particle, Particle3dBase other, System.Single springConstant, System.Single restLength ) : System
particle Particle3dBase
other Particle3dBase
springConstant System.Single
restLength System.Single
return System

UpdateForce() public method

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