documentation and optimization
This commit is contained in:
@@ -153,7 +153,6 @@ void DeformableSelfCollision::initPhysics()
|
|||||||
btVector3(-s, h, +4*s),
|
btVector3(-s, h, +4*s),
|
||||||
btVector3(+s, h, +4*s),
|
btVector3(+s, h, +4*s),
|
||||||
10,40,
|
10,40,
|
||||||
// 2,2,
|
|
||||||
0, true, 0.01);
|
0, true, 0.01);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
btDeformableBodySolver::btDeformableBodySolver()
|
btDeformableBodySolver::btDeformableBodySolver()
|
||||||
: m_numNodes(0)
|
: m_numNodes(0)
|
||||||
, m_cg(20)
|
, m_cg(20)
|
||||||
, m_maxNewtonIterations(10)
|
, m_maxNewtonIterations(5)
|
||||||
, m_newtonTolerance(1e-4)
|
, m_newtonTolerance(1e-4)
|
||||||
, m_lineSearch(true)
|
, m_lineSearch(true)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user