diff --git a/include/SFML/Graphics/Rect.hpp b/include/SFML/Graphics/Rect.hpp index 1b093880f..782b79942 100644 --- a/include/SFML/Graphics/Rect.hpp +++ b/include/SFML/Graphics/Rect.hpp @@ -95,6 +95,9 @@ public: //////////////////////////////////////////////////////////// /// \brief Check if a point is inside the rectangle's area /// + /// This check is non-inclusive. If the point lies on the + /// edge of the rectangle, this function will return false. + /// /// \param x X coordinate of the point to test /// \param y Y coordinate of the point to test /// @@ -108,6 +111,9 @@ public: //////////////////////////////////////////////////////////// /// \brief Check if a point is inside the rectangle's area /// + /// This check is non-inclusive. If the point lies on the + /// edge of the rectangle, this function will return false. + /// /// \param point Point to test /// /// \return True if the point is inside, false otherwise