You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Turn Rect2's 'intersects_touch()' into an extra argument of 'intersects()'
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user