摘要:
所以我们得到了函数Rotate 阅读全文
posted @ 2016-07-12 20:09
Ritchie丶
阅读(683)
评论(0)
推荐(0)
摘要:
atan函数:传送门。 atan2函数:传送门。 atan 和 atan2 都是求反正切函数,如:有两个点 point(x1,y1), 和 point(x2,y2); 那么这两个点形成的斜率的角度计算方法分别是: float angle = atan( (y2-y1)/(x2-x1) ); 或 fl 阅读全文
posted @ 2016-07-12 18:26
Ritchie丶
阅读(943)
评论(0)
推荐(0)