summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRaul Santos <raulsntos@gmail.com>2023-01-15 16:51:43 +0100
committerRaul Santos <raulsntos@gmail.com>2023-01-15 17:18:50 +0100
commit7560340ef61bf4f2bf67dc3f8b1415dfeeb8e485 (patch)
tree9967c8b484cf6fdb8dd7cbbbaf0420f9497c4ce5 /doc
parent9711abe78773426644b640d6052273203931555e (diff)
Rename `center` method to `get_center` in Plane.
Diffstat (limited to 'doc')
-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" />