summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-16 09:16:40 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-16 09:16:40 +0100
commit15800812685a7df069cc417f4f5b371d3e07fdf7 (patch)
treed28500b07d345fa2a8c9d068392c7cf5df40abbf /doc/classes
parent2118f8e8a39c072a043923a2777ab428ffb9f13a (diff)
parent7560340ef61bf4f2bf67dc3f8b1415dfeeb8e485 (diff)
Merge pull request #71474 from raulsntos/plane_get_center
Rename `center` method to `get_center` in Plane.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/Plane.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/classes/Plane.xml b/doc/classes/Plane.xml
index fbe8afa8d1..2d4910916b 100644
--- a/doc/classes/Plane.xml
+++ b/doc/classes/Plane.xml
@@ -67,12 +67,6 @@
</constructor>
</constructors>
<methods>
- <method name="center" qualifiers="const">
- <return type="Vector3" />
- <description>
- Returns the center of the plane.
- </description>
- </method>
<method name="distance_to" qualifiers="const">
<return type="float" />
<param index="0" name="point" type="Vector3" />
@@ -80,6 +74,12 @@
Returns the shortest distance from the plane to the position [param point]. If the point is above the plane, the distance will be positive. If below, the distance will be negative.
</description>
</method>
+ <method name="get_center" qualifiers="const">
+ <return type="Vector3" />
+ <description>
+ Returns the center of the plane.
+ </description>
+ </method>
<method name="has_point" qualifiers="const">
<return type="bool" />
<param index="0" name="point" type="Vector3" />