Skip to content

Commit bd66fbd

Browse files
kbayescopybara-github
authored andcommitted
Fix return value in mesh edge contact in nativeccd.
PiperOrigin-RevId: 730924994 Change-Id: Iab4f26da126713bae6629eef502bb2aad690c595
1 parent 441b5c6 commit bd66fbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/engine_collision_gjk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ static int meshEdgeNormals(mjtNum* res, mjtNum* endverts, int dim, mjCCDObj* obj
18281828
}
18291829
}
18301830
}
1831-
return 3;
1831+
return v1_num;
18321832
}
18331833
return 0;
18341834
}

0 commit comments

Comments
 (0)