diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 00:40:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 01:04:52 +0300 |
commit | 910b88674763899c189b694aa306e03055fe33bf (patch) | |
tree | ee48bb6e4789d19ecd7dd1d66aa65d75b2e17e83 /source/blender/modifiers/intern/MOD_weightvg_util.c | |
parent | 163fb251b901f13940d6350d36e9fa46a2fbd73d (diff) |
Cleanup: comments (long lines) in modifiers
Also remove duplicate comments in headers.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_weightvg_util.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_weightvg_util.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/modifiers/intern/MOD_weightvg_util.c b/source/blender/modifiers/intern/MOD_weightvg_util.c index 871da8dfba9..61872cbe464 100644 --- a/source/blender/modifiers/intern/MOD_weightvg_util.c +++ b/source/blender/modifiers/intern/MOD_weightvg_util.c @@ -50,8 +50,8 @@ /* Maps new_w weights in place, using either one of the predefined functions, or a custom curve. * Return values are in new_w. - * If indices is not NULL, it must be a table of same length as org_w and new_w, mapping to the real - * vertex index (in case the weight tables do not cover the whole vertices...). + * If indices is not NULL, it must be a table of same length as org_w and new_w, + * mapping to the real vertex index (in case the weight tables do not cover the whole vertices...). * cmap might be NULL, in which case curve mapping mode will return unmodified data. */ void weightvg_do_map(int num, float *new_w, short falloff_type, CurveMapping *cmap, RNG *rng) @@ -111,9 +111,10 @@ void weightvg_do_map(int num, float *new_w, short falloff_type, CurveMapping *cm /* Applies new_w weights to org_w ones, using either a texture, vgroup or constant value as factor. * Return values are in org_w. - * If indices is not NULL, it must be a table of same length as org_w and new_w, mapping to the real - * vertex index (in case the weight tables do not cover the whole vertices...). - * XXX The standard "factor" value is assumed in [0.0, 1.0] range. Else, weird results might appear. + * If indices is not NULL, it must be a table of same length as org_w and new_w, + * mapping to the real vertex index (in case the weight tables do not cover the whole vertices...). + * XXX The standard "factor" value is assumed in [0.0, 1.0] range. + * Else, weird results might appear. */ void weightvg_do_mask(const ModifierEvalContext *ctx, const int num, |