C# Class Nez.SpringGrid.Spring

显示文件 Open project: prime31/Nez

Public Properties

Property Type Description
damping float
end1 PointMass
end2 PointMass
stiffness float
targetLength float

Public Methods

Method Description
Spring ( PointMass end1, PointMass end2, float stiffness, float damping ) : System.Collections.Generic
update ( ) : void

Method Details

Spring() public method

public Spring ( PointMass end1, PointMass end2, float stiffness, float damping ) : System.Collections.Generic
end1 PointMass
end2 PointMass
stiffness float
damping float
return System.Collections.Generic

update() public method

public update ( ) : void
return void

Property Details

damping public_oe property

public float damping
return float

end1 public_oe property

public PointMass end1
return PointMass

end2 public_oe property

public PointMass end2
return PointMass

stiffness public_oe property

public float stiffness
return float

targetLength public_oe property

public float targetLength
return float