Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/mathutils/mathutils_Quaternion.c
| Show First 20 Lines • Show All 1,656 Lines • ▼ Show 20 Lines | |||||
| /** \name Quaternion Type: Python Object Definition | /** \name Quaternion Type: Python Object Definition | ||||
| * \{ */ | * \{ */ | ||||
| PyDoc_STRVAR(quaternion_doc, | PyDoc_STRVAR(quaternion_doc, | ||||
| ".. class:: Quaternion([seq, [angle]])\n" | ".. class:: Quaternion([seq, [angle]])\n" | ||||
| "\n" | "\n" | ||||
| " This object gives access to Quaternions in Blender.\n" | " This object gives access to Quaternions in Blender.\n" | ||||
| "\n" | "\n" | ||||
| " :param seq: size 3 or 4\n" | " :arg seq: size 3 or 4\n" | ||||
| " :type seq: :class:`Vector`\n" | " :type seq: :class:`Vector`\n" | ||||
| " :param angle: rotation angle, in radians\n" | " :arg angle: rotation angle, in radians\n" | ||||
| " :type angle: float\n" | " :type angle: float\n" | ||||
| "\n" | "\n" | ||||
| " The constructor takes arguments in various forms:\n" | " The constructor takes arguments in various forms:\n" | ||||
| "\n" | "\n" | ||||
| " (), *no args*\n" | " (), *no args*\n" | ||||
| " Create an identity quaternion\n" | " Create an identity quaternion\n" | ||||
| " (*wxyz*)\n" | " (*wxyz*)\n" | ||||
| " Create a quaternion from a ``(w, x, y, z)`` vector.\n" | " Create a quaternion from a ``(w, x, y, z)`` vector.\n" | ||||
| ▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines | |||||