From 8c8c48a7adb27f1563e8ec7d3c756ce08ffbdf5c Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Sat, 8 Feb 2020 14:43:08 -0300 Subject: Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()' --- doc/classes/Rect2.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'doc/classes/Rect2.xml') 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 @@ + + - 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. -- cgit v1.2.3