(vec, quat)
return result
Rotates a vector by the given quaternion.
Rotates a vector by the given quaternion.
Rotates a vector by the given quaternion .
def _rotate_vector(vec, quat):
  """Rotates a vector by the given quaternion."""
  result = np.empty_like(vec)
  mjbindings.mjlib.mju_rotVecQuat(result, vec, quat)
  return result
def _rotate_vector ( vec , quat ) : result = np . empty_like ( vec ) mjbindings . mjlib . mju_rotVecQuat ( result , vec , quat ) return result