diff options
author | Michael Alexsander <michaelalexsander@protonmail.com> | 2020-02-08 14:43:08 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2020-03-04 09:32:34 -0300 |
commit | 8c8c48a7adb27f1563e8ec7d3c756ce08ffbdf5c (patch) | |
tree | 93375a09a50da7f839050c81018b552ee7c8b0d5 /doc/classes | |
parent | f83f1d7c9b299f21f818e0ea28c27345f65bde4b (diff) |
Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Rect2.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml index 26abfb538b..dbf461cdf1 100644 --- a/doc/classes/Rect2.xml +++ b/doc/classes/Rect2.xml @@ -143,8 +143,11 @@ </return> <argument index="0" name="b" type="Rect2"> </argument> + <argument index="1" name="include_borders" type="bool" default="false"> + </argument> <description> - Returns [code]true[/code] if the [Rect2] overlaps with another. + Returns [code]true[/code] if the [Rect2] overlaps with [code]b[/code] (i.e. they have at least one point in common). + If [code]include_borders[/code] is [code]true[/code], they will also be considered overlapping if their borders touch, even without intersection. </description> </method> <method name="is_equal_approx"> |