diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-29 12:59:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-29 13:01:10 +0300 |
commit | 778542fd8fe80f87286d36bb4005314a8343e038 (patch) | |
tree | 272d34c618e9cc07b0bac3fc87b6801e3908daa4 /source/blender/python/mathutils/mathutils.c | |
parent | c7f67d60fbe24df942bcde49aadf480ac6622e71 (diff) |
Cleanup: comments (long lines) in python
Diffstat (limited to 'source/blender/python/mathutils/mathutils.c')
-rw-r--r-- | source/blender/python/mathutils/mathutils.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/source/blender/python/mathutils/mathutils.c b/source/blender/python/mathutils/mathutils.c index 32ffa4ad2da..d0fa9f5c565 100644 --- a/source/blender/python/mathutils/mathutils.c +++ b/source/blender/python/mathutils/mathutils.c @@ -381,13 +381,16 @@ int mathutils_any_to_rotmat(float rmat[3][3], PyObject *value, const char *error /* LomontRRDCompare4, Ever Faster Float Comparisons by Randy Dillon */ /* XXX We may want to use 'safer' BLI's compare_ff_relative ultimately? - * LomontRRDCompare4() is an optimized version of Dawson's AlmostEqual2sComplement() (see [1] and [2]). - * Dawson himself now claims this is not a 'safe' thing to do (pushing ULP method beyond its limits), - * an recommends using work from [3] instead, which is done in BLI func... + * LomontRRDCompare4() is an optimized version of Dawson's AlmostEqual2sComplement() + * (see [1] and [2]). + * Dawson himself now claims this is not a 'safe' thing to do + * (pushing ULP method beyond its limits), + * an recommends using work from [3] instead, which is done in BLI func... * - * [1] http://www.randydillon.org/Papers/2007/everfast.htm - * [2] http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm - * [3] https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/ instead + * [1] http://www.randydillon.org/Papers/2007/everfast.htm + * [2] http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm + * [3] https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/ + * instead. */ #define SIGNMASK(i) (-(int)(((unsigned int)(i)) >> 31)) @@ -437,7 +440,8 @@ PyObject *mathutils_dynstr_to_py(struct DynStr *ds) /* Mathutils Callbacks */ -/* for mathutils internal use only, eventually should re-alloc but to start with we only have a few users */ +/* For mathutils internal use only, + * eventually should re-alloc but to start with we only have a few users. */ #define MATHUTILS_TOT_CB 17 static Mathutils_Callback *mathutils_callbacks[MATHUTILS_TOT_CB] = {NULL}; |