diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-25 04:04:16 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-25 04:04:16 +0300 |
commit | bbd787275ff5cfebacc859b0789acf769dab3a36 (patch) | |
tree | 11839a28ace75cd34783c8761291924e018b85b8 /source/blender/gpencil_modifiers | |
parent | 1d2dfc5e9e96917fefe10f4361bb0ad20a93cf6b (diff) |
Cleanup: spelling in comments, strings
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilenvelope.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilenvelope.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilenvelope.c index 4b95d73036e..f8ac8d95493 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilenvelope.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilenvelope.c @@ -64,7 +64,7 @@ static void copyData(const GpencilModifierData *md, GpencilModifierData *target) static float calc_min_radius_v3v3(float p1[3], float p2[3], float dir[3]) { /* Use plane-conic-intersections to choose the maximal radius. - * The conic is deifned in 4D as f({x,y,z,t}) = x*x + y*y + z*z - t*t = 0 + * The conic is defined in 4D as f({x,y,z,t}) = x*x + y*y + z*z - t*t = 0 * Then a plane is defined parametrically as * {p}(u, v) = {p1,0}*u + {p2,0}*(1-u) + {dir,1}*v with 0 <= u <= 1 and v >= 0 * Now compute the intersection point with the smallest t. @@ -281,7 +281,7 @@ static void apply_stroke_envelope( float fac = use_dist * weight; /* The 50 is an internal constant for the default pixel size. The result can be messed up if - * bGPdata.pixfactor is not default, but I think modifiers shouldn't access that. */ + * #bGPdata.pixfactor is not default, but I think modifiers shouldn't access that. */ point->pressure += fac * 50.0f * GP_DEFAULT_PIX_FACTOR; interp_v3_v3v3(&point->x, &point->x, new_center, fac / len_v3v3(closest, closest2)); } |