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

Add math::Transform #196

Merged
merged 3 commits into from Feb 16, 2022
Merged

Add math::Transform #196

merged 3 commits into from Feb 16, 2022

Conversation

hannobraun
Copy link
Owner

This adds a new struct to crate::kernel::math, Transform, which wraps the transform type we've previously been using. It will make further changes to the transform code easier, and is thus relevant for #101.

Depending on how my further experimentation with #193 goes, a full struct might turn out not to be necessary. This isn't much of a problem, as Transform can be converted back into a type definition quite easily, without changes required to the code using it.

This reduces duplication in the method definitions, and opens the way
for more refactorings.
This isn't an advantage in itself, but provides more flexibility for
further refactorings of the math module.
The old name didn't really fit any more.
@hannobraun hannobraun merged commit 4e87f03 into main Feb 16, 2022
@hannobraun hannobraun deleted the transform branch February 16, 2022 15:26
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

1 participant