summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormennomax <mennomax@outlook.de>2021-04-08 16:26:14 +0200
committerAaron Franke <arnfranke@yahoo.com>2021-10-15 20:49:42 -0500
commitb4eeeb315a74682d299c7ec1555ce06a9dc2641a (patch)
tree4efb789ff3d5673c38dc439eb91127870183f392 /doc
parent96410f55b24e47af045e3ad31545331ce124d999 (diff)
Swap args of Plane(point, normal) constructor
Now (normal, point)
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Plane.xml15
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/classes/Plane.xml b/doc/classes/Plane.xml
index 78e1e81752..f7a68e6a24 100644
--- a/doc/classes/Plane.xml
+++ b/doc/classes/Plane.xml
@@ -36,17 +36,24 @@
<method name="Plane" qualifiers="constructor">
<return type="Plane" />
<argument index="0" name="normal" type="Vector3" />
+ <argument index="1" name="point" type="Vector3" />
+ <description>
+ Creates a plane from the normal vector and a point in the plane.
+ </description>
+ </method>
+ <method name="Plane" qualifiers="constructor">
+ <return type="Plane" />
+ <argument index="0" name="normal" type="Vector3" />
<argument index="1" name="d" type="float" />
<description>
- Creates a plane from the normal and the plane's distance to the origin.
+ Creates a plane from the normal vector and the plane's distance to the origin.
</description>
</method>
<method name="Plane" qualifiers="constructor">
<return type="Plane" />
- <argument index="0" name="point" type="Vector3" />
- <argument index="1" name="normal" type="Vector3" />
+ <argument index="0" name="normal" type="Vector3" />
<description>
- Creates a plane from the given position and a plane normal.
+ Creates a plane from the normal vector. The plane will intersect the origin.
</description>
</method>
<method name="Plane" qualifiers="constructor">