diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:56:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-24 08:59:34 +0300 |
commit | 4b9ff3cd42be427e478743648e9951bf8c189a04 (patch) | |
tree | b0cb1462a8fdae38df4a0a1067349f3118d56a43 /source/blender/python/mathutils/mathutils_Quaternion.c | |
parent | 2e99a74df9ecfa18c4081cdcc82227e2e24f14b1 (diff) |
Cleanup: comment blocks, trailing space in comments
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Quaternion.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Quaternion.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c index 3bc60190d56..8ecce33d29c 100644 --- a/source/blender/python/mathutils/mathutils_Quaternion.c +++ b/source/blender/python/mathutils/mathutils_Quaternion.c @@ -1407,11 +1407,11 @@ static void quat__axis_angle_sanitize(float axis[3], float *angle) /* -----------------------METHOD DEFINITIONS ---------------------- */ static struct PyMethodDef Quaternion_methods[] = { - /* in place only */ + /* In place only. */ {"identity", (PyCFunction)Quaternion_identity, METH_NOARGS, Quaternion_identity_doc}, {"negate", (PyCFunction)Quaternion_negate, METH_NOARGS, Quaternion_negate_doc}, - /* operate on original or copy */ + /* Operate on original or copy. */ {"conjugate", (PyCFunction)Quaternion_conjugate, METH_NOARGS, Quaternion_conjugate_doc}, {"conjugated", (PyCFunction)Quaternion_conjugated, METH_NOARGS, Quaternion_conjugated_doc}, @@ -1421,7 +1421,7 @@ static struct PyMethodDef Quaternion_methods[] = { {"normalize", (PyCFunction)Quaternion_normalize, METH_NOARGS, Quaternion_normalize_doc}, {"normalized", (PyCFunction)Quaternion_normalized, METH_NOARGS, Quaternion_normalized_doc}, - /* return converted representation */ + /* Return converted representation. */ {"to_euler", (PyCFunction)Quaternion_to_euler, METH_VARARGS, Quaternion_to_euler_doc}, {"to_matrix", (PyCFunction)Quaternion_to_matrix, METH_NOARGS, Quaternion_to_matrix_doc}, {"to_axis_angle", @@ -1437,7 +1437,7 @@ static struct PyMethodDef Quaternion_methods[] = { METH_NOARGS, Quaternion_to_exponential_map_doc}, - /* operation between 2 or more types */ + /* Operation between 2 or more types. */ {"cross", (PyCFunction)Quaternion_cross, METH_O, Quaternion_cross_doc}, {"dot", (PyCFunction)Quaternion_dot, METH_O, Quaternion_dot_doc}, {"rotation_difference", @@ -1451,7 +1451,7 @@ static struct PyMethodDef Quaternion_methods[] = { METH_O, Quaternion_make_compatible_doc}, - /* base-math methods */ + /* Base-math methods. */ {"freeze", (PyCFunction)BaseMathObject_freeze, METH_NOARGS, BaseMathObject_freeze_doc}, {"copy", (PyCFunction)Quaternion_copy, METH_NOARGS, Quaternion_copy_doc}, |