1、旋转图像顶点即可

2、旋转角度:

DIrectx图像旋转角度

 MouseMove中添加angleR= atan2(y1,x1)-atan2(y2,x2);angleR+=angleRmove;

 RButtonDown中添加angleRmove = angleR;记录当前角度

 

 

相关文章: