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:
3:1ab88130bb9d
Parent:
Vector.hpp@ 0:2ac59c564ab0

File content as of revision 3:1ab88130bb9d:

#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;
};