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

rotate using an enum type #4

Open
apouche opened this issue Jun 8, 2016 · 1 comment
Open

rotate using an enum type #4

apouche opened this issue Jun 8, 2016 · 1 comment

Comments

@apouche
Copy link

apouche commented Jun 8, 2016

Great lib ! One improvement would be to use an enum type inside a common rotate method like such:

Animo.rotate(.Degree(-180))
Animo.rotate(.Radian(-M_PI))

Definitely a nice to have, what do you think ?

@JohnEstropia
Copy link
Member

@apouche
Great idea, thanks! Will definitely consider that!

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

No branches or pull requests

2 participants