-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
A-AnimationMake things move and change over timeMake things move and change over timeA-MathFundamental domain-agnostic mathematical operationsFundamental domain-agnostic mathematical operationsC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or change
Description
In Bevy, there are two traits with methods for linear interpolation:
The former has an interpolate
method, and the latter has interpolate_stable
method, with the same signature. They also have different requirements (former wants Reflect
and also fn blend
implementation, latter needs it to be stable interpolation).
It might be a good idea to have a single general "interpolatable" trait, either unifying all of these properties into one, or as a supertrait of both.
(I apologize for using the non-fancy blank issue template; none of the others felt like they fit, since this isn't really a feature request nor a bug with Bevy)
Metadata
Metadata
Assignees
Labels
A-AnimationMake things move and change over timeMake things move and change over timeA-MathFundamental domain-agnostic mathematical operationsFundamental domain-agnostic mathematical operationsC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or change