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>2019-01-14 13:11:42 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-01-16 13:00:42 +0300
commit6c196248beab63fa07a5a0990e1d172b42430451 (patch)
tree5d3216bb6bc4e3eac32a95e26d40b3ea02b9e6a8 /source/blender/blenkernel/BKE_subdiv.h
parent3d4e92eb9625c8cfd09cba650ff292b0eb634c0b (diff)
Subdiv: Cleanup, comments
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv.h')
-rw-r--r--source/blender/blenkernel/BKE_subdiv.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv.h b/source/blender/blenkernel/BKE_subdiv.h
index 352581c99d6..ab540b85daf 100644
--- a/source/blender/blenkernel/BKE_subdiv.h
+++ b/source/blender/blenkernel/BKE_subdiv.h
@@ -167,13 +167,12 @@ typedef struct Subdiv {
/* Cached values, are not supposed to be accessed directly. */
struct {
/* Indexed by base face index, element indicates total number of ptex
- *faces created for preceding base faces.
- */
+ *faces created for preceding base faces. */
int *face_ptex_offset;
} cache_;
} Subdiv;
-/* ================================ HELPERS ================================= */
+/* ========================== CONVERSION HELPERS ============================ */
/* NOTE: uv_smooth is eSubsurfUVSmooth. */
eSubdivFVarLinearInterpolation
@@ -211,7 +210,7 @@ void BKE_subdiv_displacement_detach(Subdiv *subdiv);
int *BKE_subdiv_face_ptex_offset_get(Subdiv *subdiv);
-/* ============================= VARIOUS HELPERS ============================ */
+/* =========================== PTEX FACES AND GRIDS ========================= */
/* For a given (ptex_u, ptex_v) within a ptex face get corresponding
* (grid_u, grid_v) within a grid. */