Remove explicit mjModel dependency from engine_util_misc.c

PiperOrigin-RevId: 780123513
Change-Id: I567e09db3cd13a93a4720742affb62b54bfa5426
This commit is contained in:
Yuval Tassa
2025-07-07 08:32:14 -07:00
committed by Copybara-Service
parent 6ccc4f77bc
commit 783e6499d8
4 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -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,