Make model editing API public, fixes #364
Still missing: - Detailed documentation. - Python bindings. PiperOrigin-RevId: 641445626 Change-Id: I20e67b707cf1bebae7e0cc94d17f7b76a89171f0
This commit is contained in:
committed by
Copybara-Service
parent
4c3d9461ae
commit
7a06bcfdaf
@@ -28,6 +28,7 @@
|
||||
#include <mujoco/mjdata.h>
|
||||
#include <mujoco/mjmacro.h>
|
||||
#include <mujoco/mjmodel.h>
|
||||
#include <mujoco/mjspec.h>
|
||||
#include <mujoco/mjtnum.h>
|
||||
#include <mujoco/mjplugin.h>
|
||||
#include <mujoco/mjvisualize.h>
|
||||
@@ -416,7 +417,7 @@ void mjCModel::CreateObjectLists() {
|
||||
|
||||
|
||||
void mjCModel::PointToLocal() {
|
||||
spec.element = static_cast<mjElement*>(this);
|
||||
spec.element = static_cast<mjsElement*>(this);
|
||||
spec.comment = &spec_comment_;
|
||||
spec.modelfiledir = &spec_modelfiledir_;
|
||||
spec.modelname = &spec_modelname_;
|
||||
|
||||
Reference in New Issue
Block a user