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:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/blenkernel/BKE_subdiv_mesh.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/blenkernel/BKE_subdiv_mesh.h')
-rw-r--r--source/blender/blenkernel/BKE_subdiv_mesh.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv_mesh.h b/source/blender/blenkernel/BKE_subdiv_mesh.h
index 603a1a7ecf4..92766c07ccf 100644
--- a/source/blender/blenkernel/BKE_subdiv_mesh.h
+++ b/source/blender/blenkernel/BKE_subdiv_mesh.h
@@ -30,21 +30,20 @@ struct Mesh;
struct Subdiv;
typedef struct SubdivToMeshSettings {
- /* Resolution at which regular ptex (created for quad polygon) are being
- * evaluated. This defines how many vertices final mesh will have: every
- * regular ptex has resolution^2 vertices. Special (irregular, or ptex
- * created for a corner of non-quad polygon) will have resolution of
- * `resolution - 1`.
- */
- int resolution;
- /* When true, only edges emitted from coarse ones will be displayed. */
- bool use_optimal_display;
+ /* Resolution at which regular ptex (created for quad polygon) are being
+ * evaluated. This defines how many vertices final mesh will have: every
+ * regular ptex has resolution^2 vertices. Special (irregular, or ptex
+ * created for a corner of non-quad polygon) will have resolution of
+ * `resolution - 1`.
+ */
+ int resolution;
+ /* When true, only edges emitted from coarse ones will be displayed. */
+ bool use_optimal_display;
} SubdivToMeshSettings;
/* Create real hi-res mesh from subdivision, all geometry is "real". */
-struct Mesh *BKE_subdiv_to_mesh(
- struct Subdiv *subdiv,
- const SubdivToMeshSettings *settings,
- const struct Mesh *coarse_mesh);
+struct Mesh *BKE_subdiv_to_mesh(struct Subdiv *subdiv,
+ const SubdivToMeshSettings *settings,
+ const struct Mesh *coarse_mesh);
-#endif /* __BKE_SUBDIV)MESH_H__ */
+#endif /* __BKE_SUBDIV)MESH_H__ */