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

Dependencies:   C12832 FXOS8700Q LM75B MMA7660

Vector.h

Committer:
co838_app56
Date:
2016-02-25
Revision:
4:50e2aefe516b
Parent:
3:1ab88130bb9d

File content as of revision 4:50e2aefe516b:

#pragma once

struct Vector
{
    float    x;
    float    y;
    float    z;
    
    Vector(void);
    Vector(float X, float Y, float Z);
    Vector(const Vector &copy);
    
    Vector    &operator=(const Vector &copy);
    
    bool            operator==(const Vector &other) const;
    bool            operator!=(const Vector &other) const;
    bool            eq(const Vector &other, float prec) const;
};