aboutsummaryrefslogtreecommitdiff
path: root/src/m.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/m.h')
-rw-r--r--src/m.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/m.h b/src/m.h
new file mode 100644
index 0000000..25aff9e
--- /dev/null
+++ b/src/m.h
@@ -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