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

Rename from/into_xy to from/into_vec2 #22

Merged
merged 1 commit into from May 9, 2022

Conversation

alterae
Copy link
Contributor

@alterae alterae commented May 9, 2022

This brings these more inline with the equivalent into_vec2 methods
on other types, and makes the return value of the function more clear.

I also updated the doc comments to be a bit more clear and to reflect the change.

⚠️ Breaking Changes

Every change made in this PR is breaking. Two publicly exposed methods are renamed, though their parameter and return types remain unaltered.

This brings these more inline with the equivalent `into_vec2` methods
on other types, and makes the return value of the function more clear.
@alice-i-cecile alice-i-cecile merged commit 24e90b3 into Leafwing-Studios:main May 9, 2022
@alterae alterae deleted the xy-vec2-rename branch May 9, 2022 15:53
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.

None yet

2 participants