向量旋转公式推导

向量旋转公式推导

所以我们得到了函数Rotate

Vector Rotate(Vector A,double rad) 
{
    return Vector(A.x*cos(rad)-A.y*sin(rad),A.x*sin(rad)+A.y*cos(rad));
}

相关文章:

  • 2021-12-23
  • 2021-12-03
  • 2021-12-03
  • 2021-08-20
  • 2021-08-09
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2021-12-03
  • 2021-10-21
  • 2021-11-07
相关资源
相似解决方案