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>2021-02-25 08:34:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-25 08:34:50 +0300
commit0e1c6a29cbb21476d6913a592fb12e29bf700b43 (patch)
treea99372c3b50afa0d8ed76fd8638f7b409e7ae569 /source/blender/blenkernel/intern/mesh_boolean_convert.cc
parent94dc6ceaa78c360de9e3e9403b6f1fb73400aad0 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_boolean_convert.cc')
-rw-r--r--source/blender/blenkernel/intern/mesh_boolean_convert.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/mesh_boolean_convert.cc b/source/blender/blenkernel/intern/mesh_boolean_convert.cc
index 4b47294e61a..299b1ff1c71 100644
--- a/source/blender/blenkernel/intern/mesh_boolean_convert.cc
+++ b/source/blender/blenkernel/intern/mesh_boolean_convert.cc
@@ -446,7 +446,8 @@ static void copy_edge_attributes(Mesh *dest_mesh,
}
}
-/* For Imesh face `f`, with corresponding output Mesh poly `mp`,
+/**
+ * For #IMesh face `f`, with corresponding output Mesh poly `mp`,
* where the original Mesh poly is `orig_mp`, coming from the Mesh
* `orig_me`, which has index `orig_me_index` in `mim`:
* fill in the `orig_loops` Array with corresponding indices of MLoops from `orig_me`
@@ -472,7 +473,7 @@ static int fill_orig_loops(const Face *f,
* that is the same as one in orig_me (after correcting for offset in mim meshes).
* Then see that loop and any subsequent ones have the same start and end vertex.
* This may miss some cases of partial alignment, but that's OK since discovering
- * aligned loops is only an optimization to avoid some reinterpolation.
+ * aligned loops is only an optimization to avoid some re-interpolation.
*/
int first_orig_v = f->vert[0]->orig;
if (first_orig_v == NO_INDEX) {
@@ -758,8 +759,10 @@ static Mesh *imesh_to_mesh(IMesh *im, MeshesToIMeshInfo &mim)
return result;
}
-/* Do Exact Boolean directly, without a round trip through BMesh.
- * The Mesh operands are in `meshes`, with corresponding transfprms in in `obmats`. */
+/**
+ * Do Exact Boolean directly, without a round trip through #BMesh.
+ * The Mesh operands are in `meshes`, with corresponding transforms in in `obmats`.
+ */
static Mesh *direct_mesh_boolean(const Mesh **meshes,
const float (*obmats[])[4][4],
const int meshes_len,