标签:
//cosf 余弦 正弦 2M_PI / _cellCount 每一个的角度
attributes.center = CGPointMake(_center.x + _radius * cosf(2 * path.item * M_PI / _cellCount),
_center.y + _radius * sinf(2 * path.item * M_PI / _cellCount));
return attributes;
//cosf 余弦 正弦 2M_PI / _cellCount 每一个的角度
标签:
原文地址:http://blog.csdn.net/ys410900345/article/details/44857735