From 5dc0fd08a70b123e5d17057e1cbc1462bef0d8d8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 15 Jun 2021 10:59:31 +1000 Subject: Cleanup: correct incomplete comment --- source/blender/draw/engines/gpencil/gpencil_shader_fx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/draw/engines') diff --git a/source/blender/draw/engines/gpencil/gpencil_shader_fx.c b/source/blender/draw/engines/gpencil/gpencil_shader_fx.c index 21d55357a2a..315133186da 100644 --- a/source/blender/draw/engines/gpencil/gpencil_shader_fx.c +++ b/source/blender/draw/engines/gpencil/gpencil_shader_fx.c @@ -397,7 +397,7 @@ static void gpencil_vfx_shadow(ShadowShaderFxData *fx, Object *ob, gpIterVfxData unit_m4(uv_mat); zero_v2(wave_ofs); - /* We reset the uv_mat so we need to account for the rotation in the */ + /* Reset the `uv_mat` to account for rotation in the Y-axis (Shadow-V parameter). */ copy_v2_fl2(tmp, 0.0f, blur_size[1]); rotate_v2_v2fl(blur_dir, tmp, -fx->rotation); mul_v2_v2(blur_dir, vp_size_inv); -- cgit v1.2.3