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

Force bevy_math/curve feature through bevy_color #139

Merged
merged 1 commit into from
Dec 7, 2024
Merged

Force bevy_math/curve feature through bevy_color #139

merged 1 commit into from
Dec 7, 2024

Conversation

djeedai
Copy link
Owner

@djeedai djeedai commented Dec 7, 2024

The EaseFunction definition depends on the bevy_math/curve feature, which is unfortunately not re-exposed by Bevy. As a workaround, to make sure that feature is always active (since EaseFunction is a core type of bevy_tweening), we force a dependency on bevy_color, which itself already forces that feature. This is not ideal and brittle, but good enough until Bevy provides a better way.

The `EaseFunction` definition depends on the `bevy_math/curve` feature,
which is unfortunately not re-exposed by Bevy. As a workaround, to make
sure that feature is always active (since `EaseFunction` is a core type
of `bevy_tweening`), we force a dependency on `bevy_color`, which itself
already forces that feature. This is not ideal and brittle, but good
enough until Bevy provides a better way.
@djeedai djeedai merged commit 5fca4fa into main Dec 7, 2024
8 checks passed
@djeedai djeedai deleted the u/curve branch December 7, 2024 18:50
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.

1 participant