IO is an event based input manager which permit to select which composents are manged on your system

Dependencies:   C12832 FXOS8700Q LM75B MMA7660

Revision:
0:2ac59c564ab0
Child:
3:1ab88130bb9d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Vector.cpp	Tue Feb 23 17:25:07 2016 +0000
@@ -0,0 +1,9 @@
+#include "Vector.hpp"
+
+#include <float.h>
+
+template <>
+bool    Vector<float>::operator==(const Vector &other) const { return (other.x - x < FLT_MIN && other.y - y < FLT_MIN && other.z - z < FLT_MIN); }
+
+template <>
+bool    Vector<float>::eq(const Vector &other, float prec) const { return (other.x - x < prec && other.y - y < prec && other.z - z < prec); }
\ No newline at end of file