浏览代码

Merge pull request #44317 from mbrlabs/geometry2d-docs

Fixed Geometry2D::get_closest_points_between_segments docs
Rémi Verschelde 4 年之前
父节点
当前提交
0762484473
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/Geometry2D.xml

+ 1 - 1
doc/classes/Geometry2D.xml

@@ -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">