imu01c

Revision:
0:456611adedf8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vector.h	Sat Oct 31 16:14:13 2015 +0000
@@ -0,0 +1,14 @@
+#ifndef vector_h
+#define vector_h
+typedef struct vector
+{
+  float x, y, z;
+} vector;
+
+extern void vector_cross(const vector *a, const vector *b, vector *out);
+extern float vector_dot(const vector *a,const vector *b);
+extern void vector_normalize(vector *a);
+extern void vector_norm_xz(vector*a);
+extern void vector_norm_xy(vector*a);
+extern void vector_norm_yz(vector*a);
+#endif
\ No newline at end of file