Pārlūkot izejas kodu

Indicate Plane.distance_to returns a signed distance

Marc Gilleron 3 gadi atpakaļ
vecāks
revīzija
45e329c1d2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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">