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

Make Matrix3x2::identity() and Matrix3x2::translation(f32, f32) const #1695

Merged
merged 1 commit into from
Apr 15, 2022

Conversation

lunabunja
Copy link
Contributor

Although this can't be applied to the rotation function, identity and translation functions can be made const fns, which enables the use of those in const contexts.

@kennykerr
Copy link
Collaborator

Thanks for the contribution! Please run cargo run -p tool_windows to ensure that the changes are reflected in the generated code.

Although this can't be applied to the rotation function, identity and translation functions can be made \`const fn\`s, which enables the use of those in const contexts.
@ghost
Copy link

ghost commented Apr 15, 2022

CLA assistant check
All CLA requirements met.

@kennykerr kennykerr merged commit 88b014c into microsoft:master Apr 15, 2022
@kennykerr
Copy link
Collaborator

0.36.0 has been released and includes your contribution - thanks again!

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.

2 participants