Add VFS handling logic to mj_openResource.
PiperOrigin-RevId: 653124909 Change-Id: I4d031eb0bfb0070f8493753d2aeaac60ac283b85
This commit is contained in:
committed by
Copybara-Service
parent
7f46e936f6
commit
2cf352c2e6
+2
-3
@@ -45,11 +45,10 @@ MJAPI int mj_deleteFileVFS(mjVFS* vfs, const char* filename);
|
||||
// delete all files from VFS
|
||||
MJAPI void mj_deleteVFS(mjVFS* vfs);
|
||||
|
||||
// open VFS resource
|
||||
MJAPI mjResource* mju_openVfsResource(const char* name, const mjVFS* vfs);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
const mjpResourceProvider* GetVfsResourceProvider();
|
||||
|
||||
#endif // MUJOCO_SRC_USER_USER_VFS_H_
|
||||
|
||||
Reference in New Issue
Block a user