diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2022-11-01 08:11:09 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2022-11-01 09:28:12 -0500 |
commit | 83634119d42595498e42685556a577c12145e20b (patch) | |
tree | bdd670ec6732d4cf479f3185806331b16f3f6fc8 /doc | |
parent | e6751549cf7247965d1744b8c464f5e901006f21 (diff) |
Replace Quaternion Euler constructor with `from_euler` method
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Quaternion.xml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/classes/Quaternion.xml b/doc/classes/Quaternion.xml index 99dffeff9d..08a9231751 100644 --- a/doc/classes/Quaternion.xml +++ b/doc/classes/Quaternion.xml @@ -43,12 +43,6 @@ </constructor> <constructor name="Quaternion"> <return type="Quaternion" /> - <param index="0" name="euler_yxz" type="Vector3" /> - <description> - </description> - </constructor> - <constructor name="Quaternion"> - <return type="Quaternion" /> <param index="0" name="from" type="Basis" /> <description> Constructs a quaternion from the given [Basis]. @@ -86,6 +80,13 @@ <description> </description> </method> + <method name="from_euler" qualifiers="static"> + <return type="Quaternion" /> + <param index="0" name="euler" type="Vector3" /> + <description> + Constructs a Quaternion from Euler angles in YXZ rotation order. + </description> + </method> <method name="get_angle" qualifiers="const"> <return type="float" /> <description> |