From ccaddfca218dd1a9a57a3ef8ca3e555d46950ef9 Mon Sep 17 00:00:00 2001 From: Xuchen Han Date: Fri, 20 Sep 2019 13:54:17 -0700 Subject: [PATCH] documentation and optimization --- examples/DeformableDemo/DeformableSelfCollision.cpp | 1 - src/BulletSoftBody/btDeformableBodySolver.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/DeformableDemo/DeformableSelfCollision.cpp b/examples/DeformableDemo/DeformableSelfCollision.cpp index 7fc8755e9..be09af17c 100644 --- a/examples/DeformableDemo/DeformableSelfCollision.cpp +++ b/examples/DeformableDemo/DeformableSelfCollision.cpp @@ -153,7 +153,6 @@ void DeformableSelfCollision::initPhysics() btVector3(-s, h, +4*s), btVector3(+s, h, +4*s), 10,40, -// 2,2, 0, true, 0.01); diff --git a/src/BulletSoftBody/btDeformableBodySolver.cpp b/src/BulletSoftBody/btDeformableBodySolver.cpp index 21739ccd3..6395365fc 100644 --- a/src/BulletSoftBody/btDeformableBodySolver.cpp +++ b/src/BulletSoftBody/btDeformableBodySolver.cpp @@ -22,7 +22,7 @@ btDeformableBodySolver::btDeformableBodySolver() : m_numNodes(0) , m_cg(20) -, m_maxNewtonIterations(10) +, m_maxNewtonIterations(5) , m_newtonTolerance(1e-4) , m_lineSearch(true) {