diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-29 03:52:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-29 03:52:08 +0300 |
commit | 0358951b9e3d32b6411f277c3fda9ed433f76bd7 (patch) | |
tree | d24bde2160c0e692917b99310839dc0be383953e /source/blender/makesdna/DNA_gpencil_modifier_types.h | |
parent | 8aa1c0a326a838528470e79abad3abec343d1c9f (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_types.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 6ffaf457d63..c91afa58cb1 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -942,9 +942,11 @@ struct LineartCache; typedef struct LineartGpencilModifierData { GpencilModifierData modifier; - short edge_types; /* line type enable flags, bits in eLineartEdgeFlag */ + /** Line type enable flags, bits in #eLineartEdgeFlag. */ + short edge_types; - char source_type; /* Object or Collection, from eLineartGpencilModifierSource */ + /** Object or Collection, from #eLineartGpencilModifierSource. */ + char source_type; char use_multiple_levels; short level_start; @@ -963,16 +965,18 @@ typedef struct LineartGpencilModifierData { char source_vertex_group[64]; char vgname[64]; - /* Camera focal length is divided by (1 + overscan), before caluclation, which give a wider FOV, - * this doesn't change coordinates range internally (-1, 1), but makes the caluclated frame + /** + * Camera focal length is divided by `1 + overscan`, before calculation, which give a wider FOV, + * this doesn't change coordinates range internally (-1, 1), but makes the calculated frame * bigger than actual output. This is for the easier shifting calculation. A value of 0.5 means - * the "internal" focal length become 2/3 of the actual camera. */ + * the "internal" focal length become 2/3 of the actual camera. + */ float overscan; float opacity; short thickness; - unsigned char mask_switches; /* eLineartGpencilMaskSwitches */ + unsigned char mask_switches; /* #eLineartGpencilMaskSwitches */ unsigned char material_mask_bits; unsigned char intersection_mask; @@ -990,7 +994,7 @@ typedef struct LineartGpencilModifierData { /* Ported from SceneLineArt flags. */ int calculation_flags; - /* eLineArtGPencilModifierFlags, modifier internal state. */ + /* #eLineArtGPencilModifierFlags, modifier internal state. */ int flags; /* Runtime data. */ |