lerp method
Linearly interpolate between two themes.
Implementation
Elementary lerp(
Elementary b,
double t,
) {
return Elementary(
components: _lerpElementaryBase(b.components, t),
physics: t < 0.5 ? physics : b.physics,
fundations: _lerpElementaryBase(b.fundations, t),
);
}