Table of Contents

Method InverseLerpUnclamped

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

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

a float

Start of the source range.

b float

End of the source range.

t float

Sample value to convert into a normalized factor.

Returns

float

The unclamped interpolation factor, or 0 when a equals b.