summaryrefslogtreecommitdiffstats
path: root/code/PositionF.hpp
blob: b90a2a106b10799b4a5cae3c5eb1510a9fe4f75f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;
};