Make mj_gjkPenetration have the same signature as LibCCD penetration functions.
PiperOrigin-RevId: 661256774 Change-Id: If0ae95e27900a9d7b9c63f189837f1315fbbb987
This commit is contained in:
committed by
Copybara-Service
parent
35a834f0ba
commit
1c9d609b5b
@@ -65,12 +65,12 @@ TEST_F(MjcConvexTest, CylinderBox) {
|
||||
|
||||
// with multiCCD enabled, should find 5 contacts
|
||||
mj_forward(model, data);
|
||||
ASSERT_EQ(data->ncon, 5);
|
||||
EXPECT_EQ(data->ncon, 5);
|
||||
|
||||
// with multiCCD disabled, should find 1 contact
|
||||
model->opt.enableflags &= ~mjENBL_MULTICCD;
|
||||
mj_forward(model, data);
|
||||
ASSERT_EQ(data->ncon, 1);
|
||||
EXPECT_EQ(data->ncon, 1);
|
||||
|
||||
mj_deleteData(data);
|
||||
mj_deleteModel(model);
|
||||
|
||||
Reference in New Issue
Block a user