diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2021-09-29 15:40:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 15:40:59 +0200 |
commit | ba65e909bc3f099351969b6ad114121e7a11f66b (patch) | |
tree | 6aeb9422ed8ce2b6afadfc81cf02a1909d97266d | |
parent | ce26271923e48c297b623285421ac1c2ad06e623 (diff) | |
download | bullet3-ba65e909bc3f099351969b6ad114121e7a11f66b.tar.gz |
SoftBody: Fix local variable shadowing warning
-rw-r--r-- | src/BulletSoftBody/btSoftBody.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BulletSoftBody/btSoftBody.h b/src/BulletSoftBody/btSoftBody.h index e967e8790..d5b01faf3 100644 --- a/src/BulletSoftBody/btSoftBody.h +++ b/src/BulletSoftBody/btSoftBody.h @@ -1317,8 +1317,8 @@ public: } for (int k = 0; k < m_faceNodeContacts.size(); ++k) { - int i = indices[k]; - btSoftBody::DeformableFaceNodeContact& c = m_faceNodeContacts[i]; + int idx = indices[k]; + btSoftBody::DeformableFaceNodeContact& c = m_faceNodeContacts[idx]; btSoftBody::Node* node = c.m_node; btSoftBody::Face* face = c.m_face; const btVector3& w = c.m_bary; |