Definition at line 54 of file ApproximatingFunction.h.
54 {
55 if (n < 1) {
56 return ValT(0);
57 }
58
59 int low_idx = -1;
60 int high_idx = -1;
61
63
64 if (low_idx == high_idx) {
65 return array[low_idx].
val;
66 }
67
70
71
73}
void SelectInterpPoints(const KeyT &k, const InterpData< KeyT, ValT > *array, const int n, int *dest_lower_bound, int *dest_upper_bound)
const Y MapT(const X &x, const X &x1, const X &x2, const Y &y1, const Y &y2)
References InterpData< KeyT, ValT >::key, MapT(), SelectInterpPoints(), and InterpData< KeyT, ValT >::val.
Referenced by AttackRemapFactor(), anonymous_namespace{Painter.cpp}::LuminanceDecay(), MapDecayTime(), and ToBrightness().