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

Replace most To* traits by Into #214

Closed
wants to merge 19 commits into from
Closed

Replace most To* traits by Into #214

wants to merge 19 commits into from

Conversation

tomaka
Copy link
Collaborator

@tomaka tomaka commented May 6, 2015

[breaking-change]

Instead of having 10 different traits (ToQuaternion, ToMatrix4, ToRad, etc.), use a single one: Into. The Into trait is in the prelude.

The next step would be to modify some definitions to take a Into<F> instead of directly a F.
The from_fixed/into_fixed functions would also need to be converted.

@kvark
Copy link
Collaborator

kvark commented May 6, 2015

👍

@tomaka
Copy link
Collaborator Author

tomaka commented May 6, 2015

Don't merge. Once #215 is merged, I'll rebase this one and resubmit it.

@tomaka
Copy link
Collaborator Author

tomaka commented May 6, 2015

Closing for #216

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.

4 participants