[Bf-blender-cvs] [7b3e441bcf9] master: Improved docstring of mathutils.Matrix.lerp()

Sybren A. Stüvel noreply at git.blender.org
Thu Jan 18 10:07:35 CET 2018


Commit: 7b3e441bcf9e9ee27fd02a5f71216c8110cec80f
Author: Sybren A. Stüvel
Date:   Thu Jan 18 09:58:14 2018 +0100
Branches: master
https://developer.blender.org/rB7b3e441bcf9e9ee27fd02a5f71216c8110cec80f

Improved docstring of mathutils.Matrix.lerp()

===================================================================

M	source/blender/python/mathutils/mathutils_Matrix.c

===================================================================

diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c
index 29279d7dcb7..924e46a8c00 100644
--- a/source/blender/python/mathutils/mathutils_Matrix.c
+++ b/source/blender/python/mathutils/mathutils_Matrix.c
@@ -1680,7 +1680,8 @@ static PyObject *Matrix_decompose(MatrixObject *self)
 PyDoc_STRVAR(Matrix_lerp_doc,
 ".. function:: lerp(other, factor)\n"
 "\n"
-"   Returns the interpolation of two matrices.\n"
+"   Returns the interpolation of two matrices. Uses polar decomposition, see"
+"   \"Matrix Animation and Polar Decomposition\", Shoemake and Duff, 1992.\n"
 "\n"
 "   :arg other: value to interpolate with.\n"
 "   :type other: :class:`Matrix`\n"



More information about the Bf-blender-cvs mailing list