aboutsummaryrefslogtreecommitdiff
path: root/src/engine/data/bounds.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/data/bounds.hpp')
-rw-r--r--src/engine/data/bounds.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/engine/data/bounds.hpp b/src/engine/data/bounds.hpp
index ccea2c3..5444503 100644
--- a/src/engine/data/bounds.hpp
+++ b/src/engine/data/bounds.hpp
@@ -26,21 +26,21 @@ public:
explicit Bounds(const BoundsOptions &options) noexcept;
- [[nodiscard]] Value get_width() const noexcept;
+ [[nodiscard]] auto get_width() const noexcept -> Value;
void set_width(Value width) noexcept;
- [[nodiscard]] Value get_height() const noexcept;
+ [[nodiscard]] auto get_height() const noexcept -> Value;
void set_height(Value height) noexcept;
- [[nodiscard]] CoordsValidation validate_coords(const Vector2 &coords) const noexcept;
+ [[nodiscard]] auto validate_coords(const Vector2 &coords) const noexcept -> CoordsValidation;
- const Bounds &operator*=(const Bounds &rhs) noexcept;
- const Bounds &operator+=(const Bounds &rhs) noexcept;
- const Bounds &operator-=(const Bounds &rhs) noexcept;
+ auto operator*=(const Bounds &rhs) noexcept -> const Bounds &;
+ auto operator+=(const Bounds &rhs) noexcept -> const Bounds &;
+ auto operator-=(const Bounds &rhs) noexcept -> const Bounds &;
- Bounds operator-(const Bounds &rhs) const noexcept;
+ auto operator-(const Bounds &rhs) const noexcept -> Bounds;
private:
Value _width = 0U;