Move mj_loadModel to xml_api.cc.

PiperOrigin-RevId: 635748029
Change-Id: Ie4c7d34c9738e5497ec700089d4dba780ba7d5ed
This commit is contained in:
Kyle Bayes
2024-05-21 03:36:21 -07:00
committed by Copybara-Service
parent f0b633de6a
commit 2f19941fcf
4 changed files with 38 additions and 39 deletions
+2 -3
View File
@@ -71,9 +71,8 @@ MJAPI mjModel* mj_copyModel(mjModel* dest, const mjModel* src);
// save model to binary file
MJAPI void mj_saveModel(const mjModel* m, const char* filename, void* buffer, int buffer_sz);
// load model from binary MJB file
// if vfs is not NULL, look up file in vfs before reading from disk
MJAPI mjModel* mj_loadModel(const char* filename, const mjVFS* vfs);
// load binary MJB
mjModel* mj_loadModelBuffer(const void* buffer, int buffer_sz);
// de-allocate model
MJAPI void mj_deleteModel(mjModel* m);