![]() |
Speeduino
|
Typedefs for primitive 3D table elements. More...
#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | TABLE3D_GENERATOR(GENERATOR, ...) |
| Core 3d table generation macro. | |
| #define | TABLE3D_TYPENAME_BASE(size, xDom, yDom) table3d ## size ## xDom ## yDom |
Typedefs | |
| using | table3d_dim_t = uint8_t |
| Encodes the length of the axes. | |
| using | table3d_value_t = uint8_t |
| The type of each table value. | |
| using | table3d_axis_t = uint8_t |
| The type of each axis value. | |
Typedefs for primitive 3D table elements.
These used are for consistency across functions that work on 3D table data. For example:
table3d_value_t foo(table3d_axis_t input);
instead of:
uint8_t foo(int16_t input);