diff options
author | Chuyuan Kelly Fu <fuchuyuan@google.com> | 2022-02-18 18:04:58 -0800 |
---|---|---|
committer | Chuyuan Kelly Fu <fuchuyuan@google.com> | 2022-03-03 12:03:06 -0800 |
commit | a8cf6008b7085f3ccd8b86fdf6c5acd051fc29b9 (patch) | |
tree | 29d6f33519aa1771046d06e5a3ead6a15f13bf8e | |
parent | c014789db0907e9c2289fd6f2030d06470ea4c8b (diff) | |
download | bullet3-a8cf6008b7085f3ccd8b86fdf6c5acd051fc29b9.tar.gz |
format commit
-rw-r--r-- | src/BulletSoftBody/btSoftBody.h | 2 | ||||
-rw-r--r-- | src/BulletSoftBody/btSoftBodyInternals.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/BulletSoftBody/btSoftBody.h b/src/BulletSoftBody/btSoftBody.h index 9f2ef3200..742ae0276 100644 --- a/src/BulletSoftBody/btSoftBody.h +++ b/src/BulletSoftBody/btSoftBody.h @@ -407,7 +407,7 @@ public: btScalar m_friction; // Friction btScalar m_imf; // inverse mass of the face at contact point btScalar m_c0; // scale of the impulse matrix; - const btCollisionObject* m_colObj; // Collision object to collide with. + const btCollisionObject* m_colObj; // Collision object to collide with. }; /* SContact */ diff --git a/src/BulletSoftBody/btSoftBodyInternals.h b/src/BulletSoftBody/btSoftBodyInternals.h index 96db018de..6ce5df7b6 100644 --- a/src/BulletSoftBody/btSoftBodyInternals.h +++ b/src/BulletSoftBody/btSoftBodyInternals.h @@ -2020,7 +2020,7 @@ struct btSoftColliders c.m_weights = btVector3(0, 0, 0); c.m_imf = 0; c.m_c0 = 0; - c.m_colObj = psb[1]; + c.m_colObj = psb[1]; psb[0]->m_faceNodeContacts.push_back(c); } } @@ -2052,7 +2052,7 @@ struct btSoftColliders c.m_margin = mrg; c.m_imf = 0; c.m_c0 = 0; - c.m_colObj = psb[1]; + c.m_colObj = psb[1]; psb[0]->m_faceNodeContacts.push_back(c); } } @@ -2117,7 +2117,7 @@ struct btSoftColliders c.m_margin = mrg; c.m_imf = 0; c.m_c0 = 0; - c.m_colObj = psb[1]; + c.m_colObj = psb[1]; psb[0]->m_faceNodeContacts.push_back(c); } } |