This commit is contained in:
Matthew Kennedy 2022-07-20 15:25:36 -07:00
parent 3bac2b8b89
commit feff316d34
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ BinResult getBin(float value, const scaled_channel<TBin, TMult, TDiv> (&bins)[TS
return getBin(value * (float(TMult) / TDiv), *reinterpret_cast<const TBin (*)[TSize]>(&bins));
}
static float linterp(float low, float high, float frac)
static inline float linterp(float low, float high, float frac)
{
return high * frac + low * (1 - frac);
}