  | ConstraintHelperComputeErrorReduction Method  | 
            Computes the error reduction parameter for a given spring and damping constant.
            
 
Namespace: DigitalRune.Physics.ConstraintsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntaxpublic static float ComputeErrorReduction(
	float deltaTime,
	float springConstant,
	float dampingConstant
)
Public Shared Function ComputeErrorReduction ( 
	deltaTime As Single,
	springConstant As Single,
	dampingConstant As Single
) As Single
public:
static float ComputeErrorReduction(
	float deltaTime, 
	float springConstant, 
	float dampingConstant
)
static member ComputeErrorReduction : 
        deltaTime : float32 * 
        springConstant : float32 * 
        dampingConstant : float32 -> float32 
Parameters
- deltaTime
 - Type: SystemSingle
The time step size. - springConstant
 - Type: SystemSingle
The spring constant. - dampingConstant
 - Type: SystemSingle
The damping constant. 
Return Value
Type: 
Single
            The error reduction parameter that lets the constraint behave like a damped spring with the
            given parameters.
            
See Also