Merge pull request #54581 from aaronfranke/operator-docs

This commit is contained in:
Rémi Verschelde 2021-11-16 14:10:09 +01:00 committed by GitHub
commit 471e7cbfc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 1367 additions and 91 deletions

View file

@ -194,12 +194,15 @@
<return type="bool" />
<argument index="0" name="right" type="Rect2" />
<description>
Returns [code]true[/code] if the rectangles are not equal.
[b]Note:[/b] Due to floating-point precision errors, consider using [method is_equal_approx] instead, which is more reliable.
</description>
</operator>
<operator name="operator *">
<return type="Rect2" />
<argument index="0" name="right" type="Transform2D" />
<description>
Inversely transforms (multiplies) the [Rect2] by the given [Transform2D] transformation matrix.
</description>
</operator>
<operator name="operator ==">
@ -211,6 +214,8 @@
<return type="bool" />
<argument index="0" name="right" type="Rect2" />
<description>
Returns [code]true[/code] if the rectangles are exactly equal.
[b]Note:[/b] Due to floating-point precision errors, consider using [method is_equal_approx] instead, which is more reliable.
</description>
</operator>
</operators>