wx_utils library

Functions

lerpBool(bool? a, bool? b, double t) bool?
Linearly interpolate between two boolean.
lerpDouble(num? a, num? b, double t) double?
Linearly interpolate between two numbers, a and b, by an extrapolation factor t.
lerpEnum<T>(T? a, T? b, double t) → T?
Linearly interpolate between two enum.
lerpInt(int? a, int? b, double t) int?
Linearly interpolate between two integers.