zsisme
ios核心动画高级技巧

Updated 3 years ago

zhangdongpo (@zhangdongpo) started discussion #199

2 years ago · 0 comments

Open

现在继续使用M_PI,但这次用byValue而不是toValue。也许你会认为这和设置toValue结果一样,因为0 + 90度 == 90度,但实际上飞船的图片变大了,并没有做任何旋转,这是因为变换矩阵不能像角度值那样叠加。

属性动画 (Edit this file)

为什么我的代码和toValue一样呢

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant