Closed rparrett closed 3 years ago
It is related to https://github.com/rust-lang/rust/issues/86269:
lerp
to std::f32
was merged - https://github.com/rust-lang/rust/pull/85925lerp
on stable and can't use the std::f32
one.I'm not sure how to fix this other than renaming lerp
to... something else until the feature is stabilised and then move over to std::f32::lerp
@Carlton-perkins you seemed to have an idea in https://github.com/mockersf/bevy_extra/pull/11#issuecomment-913168803 but I'm not sure I understand what you mean?
@Carlton-Perkins you seemed to have an idea in #11 (comment) but I'm not sure I understand what you mean?
Was completely overthinking the problem when I wrote that. This can just be fixed until the feature is stabilized via trait method disambiguation. And whenever the feature is stabilized, its a simple fix to just swap around the references to values like the original error suggests.
Fix is on PR #13.
Will there be a minor release soon that includes the fix?
In the meantime, you can use https://github.com/rparrett/bevy_extra/commits/fix-0.5 which is based on the last commit that's compatible with bevy 0.5 and cherry-picks 04f9be0284f5b01b94c0f12d60ac6b7c72d1494f if you want.
Sorry I missed that, just pushed https://crates.io/crates/bevy_easings/0.4.1 that works with Bevy 0.5 and Rust 1.55
Thanks!
This is possibly related to #11, although that predates rust 1.55 and doesn't seem like an actual solution. But perhaps that user was using rust beta?
I am able to reproduce this consistently by
This seems a little wacky to me, because I can't find any information about 1.55 related to
float_interpolation
.