Renamed Model to Spec in C API function names.

PiperOrigin-RevId: 613922860
Change-Id: Ic47a83aa33b57ef96bd742088442e6237282ee92
This commit is contained in:
Alessio Quaglino
2024-03-08 07:04:37 -08:00
committed by Copybara-Service
parent b97110967f
commit 655e3d0914
12 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -223,8 +223,8 @@ void mjCComposite::SetDefault(void) {
// make composite object
bool mjCComposite::Make(mjSpec* modelspec, mjmBody* body, char* error, int error_sz) {
mjCModel* model = (mjCModel*)modelspec->element;
bool mjCComposite::Make(mjSpec* spec, mjmBody* body, char* error, int error_sz) {
mjCModel* model = (mjCModel*)spec->element;
// check geom type
if ((def[0].spec.geom->type!=mjGEOM_SPHERE &&