Add documentation to operators for math types
Co-authored-by: Raul Santos <raulsntos@gmail.com>
This commit is contained in:
@@ -178,12 +178,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 ==">
|
||||
@@ -195,6 +198,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>
|
||||
|
||||
Reference in New Issue
Block a user