diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-06 11:10:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-06 11:10:33 +0300 |
commit | 6c43490616973af78f91062df402e2ca34cedac5 (patch) | |
tree | 3eafb5d94fbe597e30c336e9a81321dcbdc20905 /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | 8ef757df3d2ab5867f2361908e524a7de0f4489e (diff) |
Vertex Paint: use view normal w/ 2D falloff
When projecting to the view, cull faces pointing
away from the view normal.
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 73581d402cf..aaea13ce5d0 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -219,6 +219,8 @@ bool sculpt_search_circle_cb(PBVHNode *node, void *data_v); SculptBrushTestFn sculpt_brush_test_init_with_falloff_shape( SculptSession *ss, SculptBrushTest *test, char falloff_shape); +const float *sculpt_brush_frontface_normal_from_falloff_shape( + SculptSession *ss, char falloff_shape); float tex_strength( struct SculptSession *ss, const struct Brush *br, |