Skip to content

Commit

Permalink
Fix: mathutils classes' __init__ function argument types are missing
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Dec 29, 2024
1 parent 6b935f4 commit bf4129e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/mods/common/analyzer/append/mathutils.mod.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

.. method:: __init__(rgb=(0.0, 0.0, 0.0))

:type rgb: Sequence[float]

.. method:: __get__(instance, owner)

:rtype: :class:`Color`
Expand Down Expand Up @@ -106,6 +108,9 @@

.. method:: __init__(angles=(0.0, 0.0, 0.0), order='XYZ')

:type angles: Sequence[float]
:type order: str

.. method:: __get__(instance, owner)

:rtype: :class:`Euler`
Expand Down Expand Up @@ -146,6 +151,8 @@

.. method:: __init__(rows=((1.0, 0.0, 0.0, 0.0), (0.0, 1.0, 0.0, 0.0), (0.0, 0.0, 1.0, 0.0), (0.0, 0.0, 0.0, 1.0)))

:type rows: Sequence[Sequence[float]]

.. method:: __get__(instance, owner)

:rtype: :class:`Matrix`
Expand Down Expand Up @@ -236,7 +243,10 @@

.. class:: Quaternion

.. method:: __init__(seq=(1.0, 0.0, 0.0, 0.0))
.. method:: __init__(seq=(1.0, 0.0, 0.0, 0.0), angle=0.0)

:type seq: :class:`Vector`
:type angle: float

.. method:: __get__(instance, owner)

Expand Down Expand Up @@ -329,6 +339,8 @@

.. method:: __init__(seq=(0.0, 0.0, 0.0))

:type seq: Sequence[float]

.. method:: __get__(instance, owner)

:rtype: :class:`Vector`
Expand Down

0 comments on commit bf4129e

Please sign in to comment.