Implement RenderableManager.
Similar to LightManager, the RenderableManager manages renderables based on an mjModel and its mjData. PiperOrigin-RevId: 941510745 Change-Id: I97b44cc857f136aa7c90ceb85a42e299fc759b73
This commit is contained in:
committed by
Copybara-Service
parent
c6c3ec3149
commit
fb259a5edd
@@ -31,7 +31,7 @@ void mj_updateSleepInit(const mjModel* m, mjData* d, int flg_staticawake);
|
||||
MJAPI void mj_updateSleep(const mjModel* m, mjData* d);
|
||||
|
||||
// return the first tree in the sleep cycle that starts at i, -1 if error
|
||||
int mj_sleepCycle(const int* tree_asleep, int ntree, int i);
|
||||
MJAPI int mj_sleepCycle(const int* tree_asleep, int ntree, int i);
|
||||
|
||||
// wake tree i and its related island cycle, return number of woke trees
|
||||
MJAPI int mj_wakeIsland(int* tree_asleep, int ntree, int i, int wakeval,
|
||||
|
||||
@@ -69,8 +69,8 @@ MJAPI void mjv_cameraFrustum(float zver[2], float zhor[2], float zclip[2], cons
|
||||
MJAPI int mjv_isCatenary(const mjModel* m, const mjData* d, int i, mjtNum* length);
|
||||
|
||||
// computes points along a catenary curve
|
||||
int mjv_catenary(const mjtNum x0[3], const mjtNum x1[3], const mjtNum gravity[3], mjtNum length,
|
||||
mjtNum* catenary, int ncatenary);
|
||||
MJAPI int mjv_catenary(const mjtNum x0[3], const mjtNum x1[3], const mjtNum gravity[3],
|
||||
mjtNum length, mjtNum* catenary, int ncatenary);
|
||||
|
||||
// convert HSV to RGB
|
||||
MJAPI void hsv2rgb(float *RGB, float H, float S, float V);
|
||||
|
||||
Reference in New Issue
Block a user