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

Swift 3.1 Warning for 'M_PI_2' is deprecated: #73

Open
sashalondon opened this issue Apr 2, 2017 · 1 comment
Open

Swift 3.1 Warning for 'M_PI_2' is deprecated: #73

sashalondon opened this issue Apr 2, 2017 · 1 comment

Comments

@sashalondon
Copy link

sashalondon commented Apr 2, 2017

Upgraded to Swift 3.1 I get warnings: 'M_PI_2' is deprecated: Please use 'Double.pi / 2' or '.pi / 2' to get the value of correct type and avoid casting.

I have solved it with Double.pi / 2 as it says.

Just to solve it to remove the warning.

@niennonno
Copy link

#79

Added the changes, waiting for merge.

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

2 participants