VEX Dictionary / fit01
fit01
Remaps a value from the 0 to 1 range into a new target range.
group: interpinterp
Available in every context
Usage
float fit01(float value, float nmin, float nmax)
<vector> fit01(<vector> value, <vector> nmin, <vector> nmax)
Examples
No worked examples yet.
Signatures (from vcc -X)
float fit01(float, float, float)all contextsvector4 fit01(vector4, vector4, vector4)all contextsvector2 fit01(vector2, vector2, vector2)all contextsvector fit01(vector, vector, vector)all contexts