Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed Depracated M_PI warnings #90

Merged
merged 1 commit into from
May 16, 2017
Merged

Removed Depracated M_PI warnings #90

merged 1 commit into from
May 16, 2017

Conversation

Awalz
Copy link
Contributor

@Awalz Awalz commented Mar 28, 2017

I have removed all M_PI warnings and replaced with the appropriate Swift 3.1 version.

@rogomantik
Copy link

Hi @Awalz ,
I did this way
for example replacing
endAngle: CGFloat((2 * M_PI) - M_PI),
with
endAngle: (2 * CGFloat.pi) - CGFloat.pi,
instead of
CGFloat((2 * Double.pi) - Double.pi),
it is the same or is better to use double and then cast to float?

@Marxon13 Marxon13 merged commit 3492049 into Marxon13:master May 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants