mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-18 21:10:05 +00:00
Fix copy & paste mistake
This commit is contained in:
parent
777ffac5c2
commit
340236ee29
@ -106,8 +106,9 @@ static btScalar computeConstraintMatrixDiagElementMultiBody(
|
||||
const btSolverBody* solverBodyB = &solverBodyPool[solverBodyIdB];
|
||||
const btScalar invMassB = solverBodyB->m_originalBody ? solverBodyB->m_originalBody->getInvMass() : 0.0;
|
||||
ret += computeDeltaVelocityInConstraintSpace(
|
||||
constraint.m_relpos1CrossNormal, invMassB,
|
||||
constraint.m_angularComponentA);
|
||||
constraint.m_relpos2CrossNormal,
|
||||
invMassB,
|
||||
constraint.m_angularComponentB);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user