IO is an event based input manager which permit to select which composents are manged on your system
Dependencies: C12832 FXOS8700Q LM75B MMA7660
Diff: Vector.h
- Revision:
- 3:1ab88130bb9d
- Parent:
- 0:2ac59c564ab0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Vector.h Thu Feb 25 14:28:48 2016 +0000 @@ -0,0 +1,18 @@ +#pragma once + +struct Vector +{ + float x; + float y; + float z; + + Vector(void); + Vector(float X, float Y, float Z); + Vector(const Vector ©); + + Vector &operator=(const Vector ©); + + bool operator==(const Vector &other) const; + bool operator!=(const Vector &other) const; + bool eq(const Vector &other, float prec) const; +};