mirror of
https://github.com/SFML/SFML.git
synced 2025-02-12 11:28:00 +08:00
Clarify documentation on Rect::contains function bounds
This commit is contained in:
parent
550fb2b60a
commit
3d41e28e6a
@ -95,6 +95,9 @@ public:
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Check if a point is inside the rectangle's area
|
/// \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 x X coordinate of the point to test
|
||||||
/// \param y Y 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
|
/// \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
|
/// \param point Point to test
|
||||||
///
|
///
|
||||||
/// \return True if the point is inside, false otherwise
|
/// \return True if the point is inside, false otherwise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user