docs
This commit is contained in:
parent
529921ff1a
commit
e8f980eca0
|
@ -24,6 +24,8 @@ int findIndex2(const float array[], unsigned size, float value);
|
||||||
float interpolateClamped(float x1, float y1, float x2, float y2, float x);
|
float interpolateClamped(float x1, float y1, float x2, float y2, float x);
|
||||||
float interpolateMsg(const char *msg, float x1, float y1, float x2, float y2, float x);
|
float interpolateMsg(const char *msg, float x1, float y1, float x2, float y2, float x);
|
||||||
|
|
||||||
|
// _technically_ and _theoretically_ we can support flat line for both bins and values but I am not sure if
|
||||||
|
// such a rare case is something we want to support
|
||||||
template<typename TValue, int TSize>
|
template<typename TValue, int TSize>
|
||||||
void ensureArrayIsAscending(const char* msg, const TValue (&values)[TSize]) {
|
void ensureArrayIsAscending(const char* msg, const TValue (&values)[TSize]) {
|
||||||
for (size_t i = 0; i < TSize - 1; i++) {
|
for (size_t i = 0; i < TSize - 1; i++) {
|
||||||
|
|
Loading…
Reference in New Issue