Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-08-14 13:17:10 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-08-14 13:17:47 +0300
commit5e696fdcd646ca8643f617046a22da0a825f56d4 (patch)
treee35f9363ced71639bd1a910f4d1d5314e761972b /source/blender/blenkernel/BKE_subdiv.h
parentd7ae76fa35e6dbc3aefdd0d4c431591f84982171 (diff)
Multires: Begin hooking it up to the new subdiv code
Currently behaves same as subsurf, support of displacement is the next task in the line to tackle!
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv.h')
-rw-r--r--source/blender/blenkernel/BKE_subdiv.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv.h b/source/blender/blenkernel/BKE_subdiv.h
index 03d765a154f..c4628cb9da7 100644
--- a/source/blender/blenkernel/BKE_subdiv.h
+++ b/source/blender/blenkernel/BKE_subdiv.h
@@ -111,6 +111,12 @@ typedef struct Subdiv {
SubdivStats stats;
} Subdiv;
+/* ================================ HELPERS ================================= */
+
+/* NOTE: uv_smooth is eSubsurfUVSmooth. */
+eSubdivFVarLinearInterpolation
+BKE_subdiv_fvar_interpolation_from_uv_smooth(int uv_smooth);
+
/* =============================== STATISTICS =============================== */
void BKE_subdiv_stats_init(SubdivStats *stats);