You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Rename Rect2 and Rect2i clip() to intersection()
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
Returns a [Rect2] with equivalent position and area, modified so that the top-left corner is the origin and [code]width[/code] and [code]height[/code] are positive.
|
||||
</description>
|
||||
</method>
|
||||
<method name="clip">
|
||||
<method name="intersection">
|
||||
<return type="Rect2">
|
||||
</return>
|
||||
<argument index="0" name="b" type="Rect2">
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
Returns a [Rect2i] with equivalent position and area, modified so that the top-left corner is the origin and [code]width[/code] and [code]height[/code] are positive.
|
||||
</description>
|
||||
</method>
|
||||
<method name="clip">
|
||||
<method name="intersection">
|
||||
<return type="Rect2i">
|
||||
</return>
|
||||
<argument index="0" name="b" type="Rect2i">
|
||||
|
||||
Reference in New Issue
Block a user