Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一个可以管理多边形建模和基本转换(如旋转和平移)的库。我宁愿不从头开始重新开发一切谢谢
CGPath 和 CGAffineTransform 有什么问题吗?您可以使用 CGPathApply 从转换后的路径中取回数据。
回答我自己的问题。另一种方法是使用开源物理引擎。我只需要 2D 到 Box2D 和 Chipmunk 是一些候选者,虽然它有点矫枉过正,因为我只需要多边形操作的东西而不是物理