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