Add mjmModel opaque pointer to C API.
PiperOrigin-RevId: 607619891 Change-Id: Ic1eaaa842438d9c2e19f742deff41967287853f5
This commit is contained in:
committed by
Copybara-Service
parent
f9f7827a64
commit
5e353efaaf
@@ -29,7 +29,7 @@ using ::testing::HasSubstr;
|
||||
// ----------------------------- test set/get --------------------------------
|
||||
|
||||
TEST_F(MujocoTest, ReadWriteData) {
|
||||
void* model = mjm_createModel();
|
||||
mjmModel* model = mjm_createModel();
|
||||
mjmBody* world = mjm_findBody(model, "world");
|
||||
mjmBody* body = mjm_addBody(world, 0);
|
||||
mjmSite* site = mjm_addSite(body, 0);
|
||||
|
||||
Reference in New Issue
Block a user