diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-01-20 04:23:36 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-01-20 04:28:22 +0300 |
commit | ae349eb2d50524b030f702b8ed3fd75531d4db7e (patch) | |
tree | ac73e74f5f120b83fd7e9858f25171f1d4501424 /source/blender/blenkernel/BKE_subdiv_ccg.h | |
parent | eb3ff1d6f9ca231f7cfde4a5b8255fa895d80d00 (diff) |
Sculpt: Multires Heal Brush
This brush fixes the random spikes that
occasionally happen in multires models.
These spikes can be nearly impossible to
fix manually and can make working with
multires a nightmare.
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv_ccg.h')
-rw-r--r-- | source/blender/blenkernel/BKE_subdiv_ccg.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv_ccg.h b/source/blender/blenkernel/BKE_subdiv_ccg.h index b3aa966e0d0..2de16bbddd4 100644 --- a/source/blender/blenkernel/BKE_subdiv_ccg.h +++ b/source/blender/blenkernel/BKE_subdiv_ccg.h @@ -314,6 +314,17 @@ void BKE_subdiv_ccg_eval_limit_point(const SubdivCCG *subdiv_ccg, const SubdivCCGCoord *coord, float r_point[3]); +void BKE_subdiv_ccg_eval_limit_point_and_derivatives(const SubdivCCG *subdiv_ccg, + const SubdivCCGCoord *coord, + float r_point[3], + float r_dPdu[3], + float r_dPdv[3]); + +void BKE_subdiv_ccg_get_tangent_matrix(const SubdivCCG *subdiv_ccg, + const SubdivCCGCoord *coord, + float mat[3][3], + float r_point[3]); + typedef enum SubdivCCGAdjacencyType { SUBDIV_CCG_ADJACENT_NONE, SUBDIV_CCG_ADJACENT_VERTEX, |