BrentsMethod<Real>::BrentsMethod (Function function, int maxIterations,
    Real negFTolerance, Real posFTolerance, Real stepXTolerance,
    Real convXTolerance, void* userData)
{
    SetFunction(function);
    SetMaxIterations(maxIterations);
    SetNegFTolerance(negFTolerance);
    SetPosFTolerance(posFTolerance);
    SetStepXTolerance(stepXTolerance);
    SetConvXTolerance(convXTolerance);
    SetUserData(userData);
}
Beispiel #2
0
ContactResolver::ContactResolver(unsigned int maxIterations)
{
    SetMaxIterations(maxIterations);
}