You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Revert incorrect Rect2.expand description.
Also affects Rect2i of course.
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
<return type="Rect2" />
|
||||
<param index="0" name="to" type="Vector2" />
|
||||
<description>
|
||||
Returns a copy of this rectangle expanded to include the given [param to] point, if necessary.
|
||||
Returns a copy of this rectangle expanded to align the edges with the given [param to] point, if necessary.
|
||||
[codeblocks]
|
||||
[gdscript]
|
||||
var rect = Rect2(0, 0, 5, 2)
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
<return type="Rect2i" />
|
||||
<param index="0" name="to" type="Vector2i" />
|
||||
<description>
|
||||
Returns a copy of this rectangle expanded to include the given [param to] point, if necessary.
|
||||
Returns a copy of this rectangle expanded to align the edges with the given [param to] point, if necessary.
|
||||
[codeblocks]
|
||||
[gdscript]
|
||||
var rect = Rect2i(0, 0, 5, 2)
|
||||
|
||||
Reference in New Issue
Block a user