todo: add support for scaled_channel to match Map3D flexibility?

This commit is contained in:
rusefillc 2025-01-14 11:35:09 -05:00
parent db2d33a918
commit f0a5f86aa5
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ float interpolate2d(const float value, const TBin (&bin)[TSize], const TValue (&
} }
// TS defines tables as [y_row_count x x_column_count] and we follow that weird Y, X order of arguments here // TS defines tables as [y_row_count x x_column_count] and we follow that weird Y, X order of arguments here
// todo: add support for scaled_channel to match Map3D flexibility?
template<typename VType, unsigned RNum, typename RType, unsigned X_ColumnNum, typename X_CType> template<typename VType, unsigned RNum, typename RType, unsigned X_ColumnNum, typename X_CType>
float interpolate3d(const VType (&table)[RNum][X_ColumnNum], float interpolate3d(const VType (&table)[RNum][X_ColumnNum],
const RType (&rowBins)[RNum], float yRowValue, const RType (&rowBins)[RNum], float yRowValue,