swap m_x and m_q in softbody to align with rendering convention
This commit is contained in:
@@ -92,7 +92,7 @@ public:
|
||||
{
|
||||
// btMatrix3x3 JFinvT = F.adjoint();
|
||||
btScalar J = F.determinant();
|
||||
P = F.adjoint() * (m_lambda * (J-1));
|
||||
P = F.adjoint().transpose() * (m_lambda * (J-1));
|
||||
if (m_mu > SIMD_EPSILON)
|
||||
{
|
||||
btMatrix3x3 R,S;
|
||||
|
||||
Reference in New Issue
Block a user