linearly v0.32.0 • Docs
linearly v0.32.0 / vec2 / efit
Function: efit()
efit(
value
,omin
,omax
,nmin
,nmax
):vec2
Takes the value in the range (omin, omax)
and shifts it to the corresponding value in the new range (nmin, nmax)
. Unlike fit
, this function does not clamp values to the given range. If omin
and omax
are the same, the function returns the average of nmin
and nmax
.
Parameters
• value: vec2
• omin: vec2
• omax: vec2
• nmin: vec2
• nmax: vec2
Returns
See
https://www.sidefx.com/docs/houdini/vex/functions/fit.html