diff options
Diffstat (limited to 'src/m.h')
-rw-r--r-- | src/m.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +#ifndef _M_H_ +#define _M_H_ + +#include <stdint.h> +#include <math.h> + + +//Calculate average +uint8_t avg(int argc, uint8_t *argv); + +//Distance of 2 3d vectors +float distance(uint8_t _1[3], uint8_t _2[3]); + +#endif |