lerp 0.0.1 lerp: ^0.0.1 copied to clipboard
Linearly interpolate between two numbers, boolean, or enum by an extrapolation factor.
lerpDouble(1.1, 5.5, 0.5);
lerpInt(1, 5, 0.7);
lerpBool(true, false, 0.4);
lerpEnum(CrossAxisAlignment.start, CrossAxisAlignment.end, 0.6);