Correct the get3DTableValue() return type. (#1007)
The core interpolation function returns table3d_value_t
This commit is contained in:
parent
2312102d4b
commit
d7d44014bf
|
@ -92,7 +92,7 @@ TABLE3D_GENERATOR(TABLE3D_GEN_TYPE)
|
||||||
|
|
||||||
// Generate get3DTableValue() functions
|
// Generate get3DTableValue() functions
|
||||||
#define TABLE3D_GEN_GET_TABLE_VALUE(size, xDom, yDom) \
|
#define TABLE3D_GEN_GET_TABLE_VALUE(size, xDom, yDom) \
|
||||||
static inline int get3DTableValue(TABLE3D_TYPENAME_BASE(size, xDom, yDom) *pTable, table3d_axis_t y, table3d_axis_t x) \
|
static inline table3d_value_t get3DTableValue(TABLE3D_TYPENAME_BASE(size, xDom, yDom) *pTable, table3d_axis_t y, table3d_axis_t x) \
|
||||||
{ \
|
{ \
|
||||||
return get3DTableValue( &pTable->get_value_cache, \
|
return get3DTableValue( &pTable->get_value_cache, \
|
||||||
TABLE3D_TYPENAME_BASE(size, xDom, yDom)::value_t::row_size, \
|
TABLE3D_TYPENAME_BASE(size, xDom, yDom)::value_t::row_size, \
|
||||||
|
|
Loading…
Reference in New Issue