Skip to content

Commit

Permalink
Merge pull request #44317 from mbrlabs/geometry2d-docs
Browse files Browse the repository at this point in the history
Fixed Geometry2D::get_closest_points_between_segments docs
  • Loading branch information
akien-mga authored Dec 12, 2020
2 parents 2760f5d + 56e5ca3 commit 0762484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Geometry2D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 0762484

Please sign in to comment.