From 1563ae5be6bc130a9b3a23464f7e28fdb1e87da3 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 13 May 2017 19:01:56 +0500 Subject: 2017-05-13 --- code/PositionF.hpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 code/PositionF.hpp (limited to 'code/PositionF.hpp') diff --git a/code/PositionF.hpp b/code/PositionF.hpp new file mode 100644 index 0000000..b90a2a1 --- /dev/null +++ b/code/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 -- cgit v1.2.3