From b6c28002acb802dcad8a23c0721209103f00f686 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 30 Jun 2022 12:14:22 +1000 Subject: Cleanup: spelling in comments --- source/blender/makesdna/DNA_gpencil_modifier_types.h | 4 ++-- source/blender/makesdna/DNA_lineart_types.h | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index f6a54308efc..2bb95caddfb 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -1062,8 +1062,8 @@ 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 + over-scan), 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. */ float overscan; diff --git a/source/blender/makesdna/DNA_lineart_types.h b/source/blender/makesdna/DNA_lineart_types.h index 4f736703203..1ff656f85ed 100644 --- a/source/blender/makesdna/DNA_lineart_types.h +++ b/source/blender/makesdna/DNA_lineart_types.h @@ -51,16 +51,18 @@ typedef enum eLineartEdgeFlag { LRT_EDGE_FLAG_LOOSE = (1 << 5), LRT_EDGE_FLAG_LIGHT_CONTOUR = (1 << 6), /* LRT_EDGE_FLAG_FOR_FUTURE = (1 << 7), */ - /* It's a legacy limit of 8 bits for feature lines that come from original mesh edges. It should - not be needed in current object loading scheme, but might still be relevant if we are to - impelment EditMesh loading, so don't exceed 8 bits just yet. */ + /** + * It's a legacy limit of 8 bits for feature lines that come from original mesh edges. It should + * not be needed in current object loading scheme, but might still be relevant if we are to + * implement edit-mesh loading, so don't exceed 8 bits just yet. + */ LRT_EDGE_FLAG_PROJECTED_SHADOW = (1 << 8), /* To determine an edge to be occluded from the front or back face it's lying on. */ LRT_EDGE_FLAG_SHADOW_FACING_LIGHT = (1 << 9), /** Also used as discarded line mark. */ LRT_EDGE_FLAG_CHAIN_PICKED = (1 << 10), LRT_EDGE_FLAG_CLIPPED = (1 << 11), - /** Used to specify contor from viewing camera when computing shadows. */ + /** Used to specify contour from viewing camera when computing shadows. */ LRT_EDGE_FLAG_CONTOUR_SECONDARY = (1 << 12), /** Limited to 16 bits for the entire thing. */ -- cgit v1.2.3