瀏覽代碼

Merge pull request #63077 from Zylann/doc_plane_distance_to

Indicate Plane.distance_to returns a signed distance
Rémi Verschelde 3 年之前
父節點
當前提交
9dfd120a7e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/Plane.xml

+ 1 - 1
doc/classes/Plane.xml

@@ -77,7 +77,7 @@
 			<return type="float" />
 			<argument index="0" name="point" type="Vector3" />
 			<description>
-				Returns the shortest distance from the plane to the position [code]point[/code].
+				Returns the shortest distance from the plane to the position [code]point[/code]. If the point is above the plane, the distance will be positive. If below, the distance will be negative.
 			</description>
 		</method>
 		<method name="has_point" qualifiers="const">