diff options
Diffstat (limited to 'src/utils/point.hpp')
-rw-r--r-- | src/utils/point.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/utils/point.hpp b/src/utils/point.hpp index 6618e285..f897dbf6 100644 --- a/src/utils/point.hpp +++ b/src/utils/point.hpp @@ -60,11 +60,21 @@ namespace usdx return x; } + void set_x(const T& value) + { + x = value; + } + T get_y(void) const { return y; } + void set_y(const T& value) + { + y = value; + } + Point& operator+=(const Point &other) { |