Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2018-03-29 21:25:13 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2018-03-29 21:25:13 +0300
commit0f6d52cd2966f30d45f55ac6fec8d9d5c0ae3b68 (patch)
tree923d0a4a00d776bbe0886a8690433e2bfc01b702 /source
parent9f60c850f999591a0f4a5bb32622dee1e36adfbe (diff)
PyDocs: Adde link to Wikipedia page for mathutils.Euler class
This update adds a link to the Wikipedia article "Euler angles" to the description of the mathutils.Euler class. I initially was not sure what a "Euler" represented in Blender API, but found the Wikipedia article helpful. I believe others will find the link helpful too if it appears in the class documentation. This is similar to the Wikipedia links that appear in the mathutils.Matrix class, e.g: https://docs.blender.org/api/blender_python_api_current/mathutils.html?highlight=euler#mathutils.Matrix.adjugate Author: @justasb Reviewers: campbellbarton, trumanblending, Blendify Reviewed By: Blendify Subscribers: Blendify Tags: #bf_blender Differential Revision: https://developer.blender.org/D3077
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/mathutils/mathutils_Euler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/mathutils/mathutils_Euler.c b/source/blender/python/mathutils/mathutils_Euler.c
index 9492b6d67f3..026384743bd 100644
--- a/source/blender/python/mathutils/mathutils_Euler.c
+++ b/source/blender/python/mathutils/mathutils_Euler.c
@@ -689,6 +689,8 @@ PyDoc_STRVAR(euler_doc,
"\n"
" This object gives access to Eulers in Blender.\n"
"\n"
+" .. seealso:: `Euler angles <https://en.wikipedia.org/wiki/Euler_angles>`__ on Wikipedia.\n"
+"\n"
" :param angles: Three angles, in radians.\n"
" :type angles: 3d vector\n"
" :param order: Optional order of the angles, a permutation of ``XYZ``.\n"