Skip deprecated mju_rotVecMat and mju_rotVecMatT in Python bindings.

PiperOrigin-RevId: 647275284
Change-Id: I371236182b22eb399041959901085bb82af3f670
This commit is contained in:
Yuval Tassa
2024-06-27 05:04:57 -07:00
committed by Copybara-Service
parent 13fce3e5b0
commit 62e2842116
3 changed files with 29 additions and 26 deletions
+6 -6
View File
@@ -806,8 +806,8 @@ int mjc_BoxBox(const mjModel* M, const mjData* D, mjContact* con, int g1, int g2
if (q2) {
mju_mulMatMatT3(r, rotmore, rot);
// mju_rotVecMat(p,pos12,rotmore);
// mju_rotVecMat(tmp1,size2,rotmore);
// mju_mulMatVec3(p,rotmore,pos12);
// mju_mulMatVec3(tmp1,rotmore,size2);
rotaxis(p, pos12);
rotaxis(tmp1, size2);
@@ -818,8 +818,8 @@ int mjc_BoxBox(const mjModel* M, const mjData* D, mjContact* con, int g1, int g2
rotmatx(r, rot);
// mju_rotVecMat(p,pos21,rotmore);
// mju_rotVecMat(tmp1,size1,rotmore);
// mju_mulMatVec3(p,rotmore,pos21);
// mju_mulMatVec3(tmp1,rotmore,size1);
rotaxis(p, pos21);
rotaxis(tmp1, size1);
@@ -1074,8 +1074,8 @@ edgeedge:
f2 = -1;
}
// mju_rotVecMat(p,pos21,rotmore);
// mju_rotVecMat(rnorm,clnorm,rotmore);
// mju_mulMatVec3(p,rotmore,pos21);
// mju_mulMatVec3(rnorm,rotmore,clnorm);
rotaxis(p, pos21);
rotaxis(rnorm, clnorm);