diff options
Diffstat (limited to '')
-rw-r--r-- | src/utils/point.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/point.cpp b/src/utils/point.cpp index f4fd0184..c4306ea7 100644 --- a/src/utils/point.cpp +++ b/src/utils/point.cpp @@ -36,6 +36,13 @@ namespace usdx { } + Point& Point::operator=(const Point& point) + { + x = point.x; + y = point.y; + return *this; + } + float Point::get_x(void) const { return x; |