Support directories in VFS via mj_addBufferVFS.
PiperOrigin-RevId: 655286683 Change-Id: I846376a0571d8df28d979beb5981a0cbccd7a04f
This commit is contained in:
committed by
Copybara-Service
parent
2746cb8559
commit
5ac5cfb618
@@ -181,7 +181,8 @@ class mjCBase : public mjCBase_ {
|
||||
|
||||
public:
|
||||
// load resource if found (fallback to OS filesystem)
|
||||
static mjResource* LoadResource(std::string filename, const mjVFS* vfs);
|
||||
static mjResource* LoadResource(const std::string& modelfiledir,
|
||||
const std::string& filename, const mjVFS* vfs);
|
||||
|
||||
// Get and sanitize content type from raw_text if not empty, otherwise parse
|
||||
// content type from resource_name; throw on failure
|
||||
|
||||
Reference in New Issue
Block a user