Fixed Geometry2D::get_closest_points_between_segments docs

This commit is contained in:
Marcus Brummer 2020-12-12 12:24:31 +01:00
parent 70c435272a
commit 56e5ca38d7
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@
<argument index="3" name="q2" type="Vector2">
</argument>
<description>
Given the two 2D segments ([code]p1[/code], [code]p2[/code]) and ([code]q1[/code], [code]q2[/code]), finds those two points on the two segments that are closest to each other. Returns a [PackedVector2Array] that contains this point on ([code]p1[/code], [code]p2[/code]) as well the accompanying point on ([code]q1[/code], [code]q2[/code]).
Given the two 2D segments ([code]p1[/code], [code]q1[/code]) and ([code]p2[/code], [code]q2[/code]), finds those two points on the two segments that are closest to each other. Returns a [PackedVector2Array] that contains this point on ([code]p1[/code], [code]q1[/code]) as well the accompanying point on ([code]p2[/code], [code]q2[/code]).
</description>
</method>
<method name="intersect_polygons">