Add mju_getXMLDependencies that given an MJCF file returns filepaths to all of it's dependencies.
PiperOrigin-RevId: 814203235 Change-Id: Ib5c2e2f4dd42224a768c88d76473544190c72bc0
This commit is contained in:
committed by
Copybara-Service
parent
7e16ecaa25
commit
6320b95957
@@ -644,6 +644,10 @@ MJAPI mjtNum mju_rayFlex(const mjModel* m, const mjData* d, int flex_layer, mjtB
|
||||
MJAPI mjtNum mju_raySkin(int nface, int nvert, const int* face, const float* vert,
|
||||
const mjtNum pnt[3], const mjtNum vec[3], int vertid[1]);
|
||||
|
||||
//---------------------------------- Dependencies --------------------------------------------------
|
||||
|
||||
// Given MJCF filename, fills dependencies with a list of all other files it depends on.
|
||||
MJAPI void mju_getXMLDependencies(const char* filename, mjStringVec* dependencies);
|
||||
|
||||
//---------------------------------- Interaction ---------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user