aboutsummaryrefslogtreecommitdiff
path: root/src/m.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-05-04 00:57:44 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-05-04 00:57:44 +0200
commitf15b53eea4b7054826f79836e207751e86ba1cec (patch)
tree1373166457009a8ca25f3edf66cbdb99987f0585 /src/m.h
parent099c4db0a3a8e77deb7af7436faec802fe9401de (diff)
downloadAsciiMap-f15b53eea4b7054826f79836e207751e86ba1cec.tar.gz
Reorganised folder structure
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