Put a member variable prefix

This commit is contained in:
Irlan 2019-06-17 14:27:22 -03:00
parent ee8a15ddaa
commit 9414b7a275
3 changed files with 7 additions and 7 deletions

View File

@ -53,7 +53,7 @@ private:
float32 m_normalImpulse;
float32 w2, w3, w4;
float32 m_w2, m_w3, m_w4;
bool m_active;

View File

@ -172,7 +172,7 @@ void b3ParticleTriangleContact::Update()
m_active = true;
// Store Barycentric coordinates for P1
w2 = wABC[0];
w3 = wABC[1];
w4 = wABC[2];
m_w2 = wABC[0];
m_w3 = wABC[1];
m_w4 = wABC[2];
}

View File

@ -216,9 +216,9 @@ void b3ClothContactSolver::InitializeTriangleContactConstraints()
pc->triangleRadius = 0.0f;
pc->wB = c->w2;
pc->wC = c->w3;
pc->wD = c->w4;
pc->wB = c->m_w2;
pc->wC = c->m_w3;
pc->wD = c->m_w4;
u32 indexA = pc->indexA;
float32 mA = pc->invMassA;