VEX Dictionary / efit
efit
Remaps a value or vector from one numeric range into a different target range.
group: interpinterp
Available in every context
Usage
float efit(float value, float omin, float omax, float nmin, float nmax)
<vector> efit(<vector> value, <vector> omin, <vector> omax, <vector> nmin, <vector> nmax)
<vector> efit(<vector> value, <vector> omin, <vector> omax, float nmin, float nmax)
Examples
No worked examples yet.
Signatures (from vcc -X)
float efit(float, float, float, float, float)all contextsvector4 efit(vector4, vector4, vector4, float, float)all contextsvector4 efit(vector4, vector4, vector4, vector4, vector4)all contextsvector2 efit(vector2, vector2, vector2, float, float)all contextsvector2 efit(vector2, vector2, vector2, vector2, vector2)all contextsvector efit(vector, vector, vector, float, float)all contextsvector efit(vector, vector, vector, vector, vector)all contexts