C# Class Nez.SpringGrid.Spring

Show file 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 property

public float damping
return float

end1 public property

public PointMass end1
return PointMass

end2 public property

public PointMass end2
return PointMass

stiffness public property

public float stiffness
return float

targetLength public property

public float targetLength
return float