Renamed mjmModel to mjSpec.

PiperOrigin-RevId: 613516063
Change-Id: I09e360d3eba2accba2e260ec4754b0879b12892f
This commit is contained in:
Alessio Quaglino
2024-03-07 02:47:06 -08:00
committed by Copybara-Service
parent 22cd96fbbc
commit ef3cb7ec2e
19 changed files with 123 additions and 123 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ using ::testing::NotNull;
// ----------------------------- test set/get --------------------------------
TEST_F(MujocoTest, ReadWriteData) {
mjmModel* model = mjm_createModel();
mjSpec* model = mjm_createModel();
mjmBody* world = mjm_findBody(model, "world");
mjmBody* body = mjm_addBody(world, 0);
mjmSite* site = mjm_addSite(body, 0);
@@ -86,7 +86,7 @@ TEST_F(PluginTest, RecompileCompare) {
// load model
std::array<char, 1000> error;
mjmModel* model =
mjSpec* model =
mjParseXML(xml.c_str(), nullptr, error.data(), error.size());
// compile twice