diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 14:19:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 16:43:00 +0300 |
commit | 5a43406e1bad973a8cb32702b4fdb588068a6dcd (patch) | |
tree | b47ac75f429b586950dab5300669c373023efab8 /source/blender/makesdna/DNA_linestyle_types.h | |
parent | 0215caeac2ad013fa03e2799049f5358d951ebfa (diff) |
Cleanup: move DNA comments before struct members
Needed for clang-format in some cases, see: T53211
Diffstat (limited to 'source/blender/makesdna/DNA_linestyle_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_linestyle_types.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_linestyle_types.h b/source/blender/makesdna/DNA_linestyle_types.h index fa9ce358549..914bab3d017 100644 --- a/source/blender/makesdna/DNA_linestyle_types.h +++ b/source/blender/makesdna/DNA_linestyle_types.h @@ -52,7 +52,8 @@ struct bNodeTree; typedef struct LineStyleModifier { struct LineStyleModifier *next, *prev; - char name[64]; /* MAX_NAME */ + /** MAX_NAME. */ + char name[64]; int type; float influence; int flags; @@ -383,7 +384,8 @@ typedef struct LineStyleGeometryModifier_PerlinNoise1D { struct LineStyleModifier modifier; float frequency, amplitude; - float angle; /* in radians! */ + /** In radians!. */ + float angle; unsigned int octaves; int seed; int pad1; @@ -393,7 +395,8 @@ typedef struct LineStyleGeometryModifier_PerlinNoise2D { struct LineStyleModifier modifier; float frequency, amplitude; - float angle; /* in radians! */ + /** In radians!. */ + float angle; unsigned int octaves; int seed; int pad1; @@ -462,7 +465,8 @@ typedef struct LineStyleGeometryModifier_2DTransform { int pivot; float scale_x, scale_y; - float angle; /* in radians! */ + /** In radians!. */ + float angle; float pivot_u; float pivot_x, pivot_y; int pad; @@ -481,7 +485,8 @@ typedef struct LineStyleThicknessModifier_Calligraphy { struct LineStyleModifier modifier; float min_thickness, max_thickness; - float orientation; /* in radians! */ + /** In radians!. */ + float orientation; int pad; } LineStyleThicknessModifier_Calligraphy; @@ -551,7 +556,8 @@ typedef struct FreestyleLineStyle { int chaining; unsigned int rounds; float split_length; - float min_angle, max_angle; /* in radians, for splitting */ + /** In radians, for splitting. */ + float min_angle, max_angle; float min_length, max_length; unsigned int chain_count; unsigned short split_dash1, split_gap1; @@ -562,8 +568,10 @@ typedef struct FreestyleLineStyle { short texact, pr_texture; short use_nodes, pad[3]; unsigned short dash1, gap1, dash2, gap2, dash3, gap3; - int panel; /* for UI */ - struct MTex *mtex[18]; /* MAX_MTEX */ + /** For UI. */ + int panel; + /** MAX_MTEX. */ + struct MTex *mtex[18]; /* nodes */ struct bNodeTree *nodetree; |