0
点赞
收藏
分享

微信扫一扫

根据Transform matrix矩阵算角度

double angle = Math.round(Math.atan2(b, a) * (180 / Math.PI));
System.out.println(angle);

例如

{0, -0.25, 0.25, 0, 0, 0}算出来的是-90度

 

举报

相关推荐

0 条评论