diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:14:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:15:35 +0300 |
commit | 328a0f975be68404604ee2571c1d0c4cf828dfec (patch) | |
tree | 5a0a74b069108f122cad0b1b11829cfa9529abbe /source/blender/makesdna/DNA_modifier_types.h | |
parent | 39acbebe46ef90003201077867a394ebc60d540c (diff) |
Cleanup: comment line length (DNA)
Prevents clang-format wrapping text before comments.
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index c6a7209da5a..6b71e6512a6 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -383,9 +383,11 @@ typedef struct BevelModifierData { short pad2; /** Controls profile shape (0->1, .5 is round). */ float profile; - /* if the MOD_BEVEL_ANGLE is set, this will be how "sharp" an edge must be before it gets beveled */ + /** if the MOD_BEVEL_ANGLE is set, + * this will be how "sharp" an edge must be before it gets beveled */ float bevel_angle; - /* if the MOD_BEVEL_VWEIGHT option is set, this will be the name of the vert group, MAX_VGROUP_NAME */ + /** if the MOD_BEVEL_VWEIGHT option is set, + * this will be the name of the vert group, MAX_VGROUP_NAME */ char defgrp_name[64]; struct BevelModNorEditData clnordata; } BevelModifierData; @@ -980,8 +982,8 @@ typedef struct ShrinkwrapModifierData { /** Axis to project over. */ char projAxis; - /* If using projection over vertex normal this controls the level of subsurface that must be done - * before getting the vertex coordinates and normal + /** If using projection over vertex normal this controls the level of subsurface that must be + * done before getting the vertex coordinates and normal */ char subsurfLevels; @@ -998,32 +1000,33 @@ enum { /* Shrinkwrap->shrinkMode */ enum { - /* Move vertex to the surface of the target object (keepDist towards original position) */ + /** Move vertex to the surface of the target object (keepDist towards original position) */ MOD_SHRINKWRAP_ON_SURFACE = 0, - /* Move the vertex inside the target object; don't change if already inside */ + /** Move the vertex inside the target object; don't change if already inside */ MOD_SHRINKWRAP_INSIDE = 1, - /* Move the vertex outside the target object; don't change if already outside */ + /** Move the vertex outside the target object; don't change if already outside */ MOD_SHRINKWRAP_OUTSIDE = 2, - /* Move vertex to the surface of the target object, with keepDist towards the outside */ + /** Move vertex to the surface of the target object, with keepDist towards the outside */ MOD_SHRINKWRAP_OUTSIDE_SURFACE = 3, - /* Move vertex to the surface of the target object, with keepDist along the normal */ + /** Move vertex to the surface of the target object, with keepDist along the normal */ MOD_SHRINKWRAP_ABOVE_SURFACE = 4, }; /* Shrinkwrap->shrinkOpts */ enum { - /* allow shrinkwrap to move the vertex in the positive direction of axis */ + /** allow shrinkwrap to move the vertex in the positive direction of axis */ MOD_SHRINKWRAP_PROJECT_ALLOW_POS_DIR = (1 << 0), - /* allow shrinkwrap to move the vertex in the negative direction of axis */ + /** allow shrinkwrap to move the vertex in the negative direction of axis */ MOD_SHRINKWRAP_PROJECT_ALLOW_NEG_DIR = (1 << 1), - /* ignore vertex moves if a vertex ends projected on a front face of the target */ + /** ignore vertex moves if a vertex ends projected on a front face of the target */ MOD_SHRINKWRAP_CULL_TARGET_FRONTFACE = (1 << 3), - /* ignore vertex moves if a vertex ends projected on a back face of the target */ + /** ignore vertex moves if a vertex ends projected on a back face of the target */ MOD_SHRINKWRAP_CULL_TARGET_BACKFACE = (1 << 4), #ifdef DNA_DEPRECATED_ALLOW - MOD_SHRINKWRAP_KEEP_ABOVE_SURFACE = (1 << 5), /* distance is measure to the front face of the target */ + /** distance is measure to the front face of the target */ + MOD_SHRINKWRAP_KEEP_ABOVE_SURFACE = (1 << 5), #endif MOD_SHRINKWRAP_INVERT_VGROUP = (1 << 6), @@ -1034,7 +1037,8 @@ enum { /* Shrinkwrap->projAxis */ enum { - MOD_SHRINKWRAP_PROJECT_OVER_NORMAL = 0, /* projection over normal is used if no axis is selected */ + /** projection over normal is used if no axis is selected */ + MOD_SHRINKWRAP_PROJECT_OVER_NORMAL = 0, MOD_SHRINKWRAP_PROJECT_OVER_X_AXIS = (1 << 0), MOD_SHRINKWRAP_PROJECT_OVER_Y_AXIS = (1 << 1), MOD_SHRINKWRAP_PROJECT_OVER_Z_AXIS = (1 << 2), @@ -1095,7 +1099,8 @@ typedef struct SolidifyModifierData { float offset; /** Midpoint of the offset . */ float offset_fac; - /* factor for the minimum weight to use when vgroups are used, avoids 0.0 weights giving duplicate geometry */ + /** factor for the minimum weight to use when vgroups are used, + * avoids 0.0 weights giving duplicate geometry */ float offset_fac_vg; /** Clamp offset based on surrounding geometry. */ float offset_clamp; |