diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-18 18:46:00 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-09-18 18:46:00 +0300 |
commit | ebcbb50420af437b6e68b64a6e6517de6edbfe6e (patch) | |
tree | 06ddefb93d7487878e52b2d98dd6ccb15ae5b10e /source/blender/blenkernel/BKE_subdiv_ccg.h | |
parent | 7016f11d92f0f4160131f051aa53eb131890a778 (diff) |
Subdiv: CCG, implement stitching of given faces
Will speed up (or rather bring speed back to what it is supposed to be)
for brushes like smooth.
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv_ccg.h')
-rw-r--r-- | source/blender/blenkernel/BKE_subdiv_ccg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv_ccg.h b/source/blender/blenkernel/BKE_subdiv_ccg.h index 99037a25a64..83d97974a28 100644 --- a/source/blender/blenkernel/BKE_subdiv_ccg.h +++ b/source/blender/blenkernel/BKE_subdiv_ccg.h @@ -37,6 +37,7 @@ #include "BLI_sys_types.h" struct CCGElem; +struct CCGFace; struct CCGKey; struct DMFlagMat; struct Mesh; @@ -182,4 +183,9 @@ void BKE_subdiv_ccg_recalc_normals(SubdivCCG *subdiv_ccg); /* Average grid coordinates and normals along the grid boundatries. */ void BKE_subdiv_ccg_average_grids(SubdivCCG *subdiv_ccg); +/* Similar to above, but only updates given faces. */ +void BKE_subdiv_ccg_average_stitch_faces(SubdivCCG *subdiv_ccg, + struct CCGFace **effected_faces, + int num_effected_faces); + #endif /* __BKE_SUBDIV_CCG_H__ */ |