-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Update glam
, encase
and hexasphere
#11082
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's also a lerp in bevy_animation/src/lib.rs::728
.map(|(a, b)| *a + lerp * (*b - *a));
could be
.map(|(a, b)| a.lerp(b, lerp));
glam
to 0.25glam
to 0.25 and encase
to 0.7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs the merge conflicts to fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only replacing manual lerp formulas with calls to the FloatExt trait, and all of them look good.
Fixed the merged conflict. |
https://github.com/OptimisticPeach/hexasphere dependency on glam need to be updated first |
glam
to 0.25 and encase
to 0.7glam
, encase
and hexasphere
@mockersf, hexasphere has been updated |
# Objective Another PR failed CI due to duplicate deps, and I noticed this one in particular while scanning through the error messages. I think this was missed in #11082. ## Solution Bump `encase_derive_impl` dep in `bevy_encase_derive` to same version as `encase` dep for `bevy_render`. I spot-checked a few examples, and glanced at the [changelog](<https://github.com/teoxoy/encase/blob/main/CHANGELOG.md#v070-2024-01-02>) and I don't think there's anything to be concerned about, but I barely know what this thing does.
Update to
glam
0.25,encase
0.7 andhexasphere
to 10.0Changelog
Added the
FloatExt
trait to thebevy_math
prelude which addslerp
,inverse_lerp
andremap
methods to thef32
andf64
types.