diff options
Diffstat (limited to 'src/engine/data/bounds.hpp')
-rw-r--r-- | src/engine/data/bounds.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/engine/data/bounds.hpp b/src/engine/data/bounds.hpp index 4a29158..ccea2c3 100644 --- a/src/engine/data/bounds.hpp +++ b/src/engine/data/bounds.hpp @@ -36,9 +36,11 @@ public: [[nodiscard]] CoordsValidation validate_coords(const Vector2 &coords) const noexcept; - const Bounds &operator*=(const Bounds &bounds) noexcept; - const Bounds &operator+=(const Bounds &bounds) noexcept; - const Bounds &operator-=(const Bounds &bounds) noexcept; + const Bounds &operator*=(const Bounds &rhs) noexcept; + const Bounds &operator+=(const Bounds &rhs) noexcept; + const Bounds &operator-=(const Bounds &rhs) noexcept; + + Bounds operator-(const Bounds &rhs) const noexcept; private: Value _width = 0U; |