Remove explicit mjModel dependency from engine_util_misc.c
PiperOrigin-RevId: 780123513 Change-Id: I567e09db3cd13a93a4720742affb62b54bfa5426
This commit is contained in:
committed by
Copybara-Service
parent
6ccc4f77bc
commit
783e6499d8
@@ -635,7 +635,7 @@ void mj_ellipsoidFluidModel(const mjModel* m, mjData* d, int bodyid) {
|
||||
for (int j=0; j < m->body_geomnum[bodyid]; j++) {
|
||||
const int geomid = m->body_geomadr[bodyid] + j;
|
||||
|
||||
mju_geomSemiAxes(m, geomid, semiaxes);
|
||||
mju_geomSemiAxes(semiaxes, m->geom_size + 3*geomid, m->geom_type[geomid]);
|
||||
|
||||
readFluidGeomInteraction(
|
||||
m->geom_fluid + mjNFLUID*geomid, &geom_interaction_coef,
|
||||
|
||||
Reference in New Issue
Block a user