diff options
Diffstat (limited to 'PositionF.hpp')
-rw-r--r-- | PositionF.hpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PositionF.hpp b/PositionF.hpp new file mode 100644 index 0000000..b90a2a1 --- /dev/null +++ b/PositionF.hpp @@ -0,0 +1,29 @@ +#pragma once + +class PositionF { +public: + PositionF(double x, double z, double y); + + ~PositionF(); + + double GetX() const; + + double GetY() const; + + double GetZ() const; + + void SetX(double x); + + void SetY(double y); + + void setZ(double z); + + bool operator==(const PositionF &other) const; + + PositionF &operator=(const PositionF &other); + + PositionF(const PositionF &other); + +private: + double m_x, m_y, m_z; +};
\ No newline at end of file |