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 AnimatableCurve::curve public #15831

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

mweatherley
Copy link
Contributor

Objective

The other Curve -> AnimationCurve wrappers allow public access to the inner curve, so this one should as well.

Solution

Made the field public. Instances will still need to be constructed using the (more ergonomic) from_curve method, which infers the phantom type for the user.

@mweatherley mweatherley added D-Trivial Nice and easy! A great choice to get started with Bevy C-Usability A targeted quality-of-life change that makes Bevy easier to use A-Animation Make things move and change over time labels Oct 10, 2024
@alice-i-cecile alice-i-cecile added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Oct 10, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Oct 10, 2024
Merged via the queue into bevyengine:main with commit a06802a Oct 10, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Animation Make things move and change over time C-Usability A targeted quality-of-life change that makes Bevy easier to use D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants