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>2020-03-30 13:26:29 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-03-30 13:26:45 +0300
commit3351a2655d034853a64c41e95b0ac1aec3e2eb60 (patch)
treea3602948ee48e9cc10edf0134b09c71669c42414 /source/blender/blenkernel/BKE_subdiv_foreach.h
parent513885a9911841aed4d039f5170171e039a74c68 (diff)
Subdiv: Extend some comments
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv_foreach.h')
-rw-r--r--source/blender/blenkernel/BKE_subdiv_foreach.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv_foreach.h b/source/blender/blenkernel/BKE_subdiv_foreach.h
index f1d4adda37c..bef141b5ac5 100644
--- a/source/blender/blenkernel/BKE_subdiv_foreach.h
+++ b/source/blender/blenkernel/BKE_subdiv_foreach.h
@@ -160,6 +160,10 @@ typedef struct SubdivForeachContext {
/* Invokes callbacks in the order and with values which corresponds to creation
* of final subdivided mesh.
*
+ * Main goal is to abstract all the traversal routines to give geometry element
+ * indices (for vertices, edges, loops, polygons) in the same way as subdivision
+ * modifier will do for a dense mesh.
+ *
* Returns truth if the whole topology was traversed, without any early exits.
*
* TODO(sergey): Need to either get rid of subdiv or of coarse_mesh.