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:
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__ */