Method InverseLerpUnclamped
InverseLerpUnclamped(float, float, float)
Computes the inverse interpolation factor without clamping the result to the 0..1 range.
public static float InverseLerpUnclamped(float a, float b, float t)
Parameters
afloatStart of the source range.
bfloatEnd of the source range.
tfloatSample value to convert into a normalized factor.
Returns
- float
The unclamped interpolation factor, or 0 when
aequalsb.