Simstim

VEX Dictionary / invlerp

invlerp

Computes the mix fraction that would linearly interpolate min and max to reach a given value; inverse of lerp.

group: interpinterp

Available in every context

Usage

float invlerp(float a, float min, float max)
<vector> invlerp(<vector> a, <vector> min, <vector> max)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗