Remove deprecated mju_rotVecMat and mju_rotVecMatT functions.
PiperOrigin-RevId: 689405782 Change-Id: I0281376d5d6f5c31ea2603d61c03c7b94aaa6312
This commit is contained in:
committed by
Copybara-Service
parent
159f23e6b4
commit
a3ea01e57e
@@ -3142,24 +3142,6 @@ mju_mulMatTVec3
|
||||
|
||||
Multiply transposed 3-by-3 matrix by vector: res = mat' * vec.
|
||||
|
||||
.. _mju_rotVecMat:
|
||||
|
||||
mju_rotVecMat
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
.. mujoco-include:: mju_rotVecMat
|
||||
|
||||
Deprecated, use mju_mulMatVec3(res, mat, vec).
|
||||
|
||||
.. _mju_rotVecMatT:
|
||||
|
||||
mju_rotVecMatT
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
.. mujoco-include:: mju_rotVecMatT
|
||||
|
||||
Deprecated, use mju_mulMatTVec3(res, mat, vec).
|
||||
|
||||
.. _mju_cross:
|
||||
|
||||
mju_cross
|
||||
|
||||
+2
-1
@@ -9,6 +9,7 @@ General
|
||||
^^^^^^^
|
||||
- The global compiler flag ``exactmeshinertia`` has been removed and replaced with the mesh-specific
|
||||
:ref:`inertia<asset-mesh-inertia>` attribute.
|
||||
- Removed the deprecated ``mju_rotVecMat`` and ``mju_rotVecMatT`` functions.
|
||||
|
||||
MJX
|
||||
^^^
|
||||
@@ -214,7 +215,7 @@ General
|
||||
3. Calls to :ref:`mj_defaultVFS` may allocate memory inside VFS, and the corresponding
|
||||
:ref:`mj_deleteVFS` must be called to deallocate any internal allocated memory.
|
||||
|
||||
4. Deprecated :ref:`mju_rotVecMat` and :ref:`mju_rotVecMatT` in favor of :ref:`mju_mulMatVec3` and
|
||||
4. Deprecated ``mju_rotVecMat`` and ``mju_rotVecMatT`` in favor of :ref:`mju_mulMatVec3` and
|
||||
:ref:`mju_mulMatTVec3`. These function names and argument order are more consistent with the rest of the API.
|
||||
The older functions have been removed from the Python bindings and will be removed from the C API in the next
|
||||
release.
|
||||
|
||||
@@ -3432,8 +3432,6 @@ mjtNum mju_dot3(const mjtNum vec1[3], const mjtNum vec2[3]);
|
||||
mjtNum mju_dist3(const mjtNum pos1[3], const mjtNum pos2[3]);
|
||||
void mju_mulMatVec3(mjtNum res[3], const mjtNum mat[9], const mjtNum vec[3]);
|
||||
void mju_mulMatTVec3(mjtNum res[3], const mjtNum mat[9], const mjtNum vec[3]);
|
||||
void mju_rotVecMat(mjtNum res[3], const mjtNum vec[3], const mjtNum mat[9]);
|
||||
void mju_rotVecMatT(mjtNum res[3], const mjtNum vec[3], const mjtNum mat[9]);
|
||||
void mju_cross(mjtNum res[3], const mjtNum a[3], const mjtNum b[3]);
|
||||
void mju_zero4(mjtNum res[4]);
|
||||
void mju_unit4(mjtNum res[4]);
|
||||
|
||||
Reference in New Issue
Block a user