diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-10-30 17:41:52 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-10-30 17:45:00 +0300 |
commit | e6f61a4a379bbb80296131fae0cef178e2145e52 (patch) | |
tree | ef7827aaaedbde2b27bda982e66f5c917cdf7157 /source/blender/draw/engines/gpencil/gpencil_engine.h | |
parent | aacdc3995886b4aad93044c4cec5e05f3dfc6cae (diff) |
GPencil: New material parameter to rotate texture
Add a parameter to rotate the texture for Dots and Squares
Differential Revision: https://developer.blender.org/D9369
Diffstat (limited to 'source/blender/draw/engines/gpencil/gpencil_engine.h')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.h b/source/blender/draw/engines/gpencil/gpencil_engine.h index 0922ab6552c..04128dc157e 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.h +++ b/source/blender/draw/engines/gpencil/gpencil_engine.h @@ -62,7 +62,7 @@ typedef struct gpMaterial { float stroke_color[4]; float fill_color[4]; float fill_mix_color[4]; - float fill_uv_transform[3][2], _pad0[2]; + float fill_uv_transform[3][2], alignment_rot_cos, alignment_rot_sin; float stroke_texture_mix; float stroke_u_scale; float fill_texture_mix; |