Merge pull request #3027 from Adityakk9031:#2982
PiperOrigin-RevId: 880846172 Change-Id: I5b0ccda4b481c079a6bb640ab19756c3fd4b4b26
This commit is contained in:
@@ -2560,7 +2560,7 @@ void mjCBody::AccumulateInertia(const mjsBody* other, mjsBody* result) {
|
|||||||
};
|
};
|
||||||
double iquat[2][4] = {
|
double iquat[2][4] = {
|
||||||
{result->iquat[0], result->iquat[1], result->iquat[2], result->iquat[3]},
|
{result->iquat[0], result->iquat[1], result->iquat[2], result->iquat[3]},
|
||||||
{other->iquat[0], other->iquat[1], other->iquat[2], other->iquat[3]}
|
{other_iquat[0], other_iquat[1], other_iquat[2], other_iquat[3]}
|
||||||
};
|
};
|
||||||
|
|
||||||
// compute total mass
|
// compute total mass
|
||||||
|
|||||||
Reference in New Issue
Block a user