remove some useless global constants, move them right into the constructor

This commit is contained in:
erwin coumans
2016-10-07 09:00:49 -07:00
parent d6f449762b
commit ddff1bcdc0
2 changed files with 4 additions and 6 deletions

View File

@@ -30,8 +30,7 @@ namespace
}
}
const btScalar btPolarDecomposition::DEFAULT_TOLERANCE = btScalar(0.0001);
const unsigned int btPolarDecomposition::DEFAULT_MAX_ITERATIONS = 16;
btPolarDecomposition::btPolarDecomposition(btScalar tolerance, unsigned int maxIterations)
: m_tolerance(tolerance)