Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Why are you divide M_PI #84

Open
JsouLiang opened this issue Feb 8, 2017 · 0 comments
Open

Why are you divide M_PI #84

JsouLiang opened this issue Feb 8, 2017 · 0 comments

Comments

@JsouLiang
Copy link

CGFloat distance = CGRectGetMidX(attributes.frame) - self.midX; CGFloat currentAngle = self.maxAngle * distance / self.width / M_PI; .... return attributes; break;
Could you tell me why are you divide M_PI. Thank you 😁

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant