diff --git a/SDL2pp/Rect.hh b/SDL2pp/Rect.hh index abc6db7..428f632 100644 --- a/SDL2pp/Rect.hh +++ b/SDL2pp/Rect.hh @@ -271,6 +271,8 @@ public: /// /// \param[in] x2 New X coordinate value /// + /// This modifies rectangle width internally + /// /// \returns Reference to self /// //////////////////////////////////////////////////////////// @@ -284,8 +286,6 @@ public: /// /// \returns Y coordinate of the rect second corner /// - /// This modifies rectangle width internally - /// //////////////////////////////////////////////////////////// constexpr int GetY2() const { return y + h - 1;