What is the best way to rotate a CGPoint on a grid?

后端 未结 6 1727
轻奢々
轻奢々 2020-12-17 17:49

I want to rotate a CGPoint on the screen depending on the angle and the rotation is anchored on another point. Was wondering what is the most efficient way of doing this?

6条回答
提交回复
热议问题