Remove mjm_finalize.

PiperOrigin-RevId: 609284351
Change-Id: I066332784d8210de6fec5aa718e097c9ef67903c
This commit is contained in:
Alessio Quaglino
2024-02-22 01:26:13 -08:00
committed by Copybara-Service
parent 7edacd39cd
commit 5fe3e169ab
5 changed files with 11 additions and 25 deletions
-8
View File
@@ -42,14 +42,6 @@ void mjm_deleteModel(mjmModel* modelspec) {
// copy spec into private attributes
MJAPI void mjm_finalize(mjElement object) {
mjCBase* baseC = reinterpret_cast<mjCBase*>(object);
baseC->CopyFromSpec();
}
// add child body to body, return child spec
mjmBody* mjm_addBody(mjmBody* bodyspec, mjmDefault* defspec) {
mjCDef* def = defspec ? reinterpret_cast<mjCDef*>(defspec->element) : 0;