Cleanup: spelling

This commit is contained in:
2021-02-24 15:53:03 +11:00
parent 5c2e10d5ed
commit d4c0c40015
5 changed files with 9 additions and 9 deletions

View File

@@ -91,7 +91,7 @@ class MeshesToIMeshInfo {
/* Similarly for polys of meshes. */
Array<int> mesh_poly_offset;
/* For each Mesh vertex in all the meshes (with concatenated indexing),
* what is the IMesh Vert* allocated for it in the intput IMesh? */
* what is the IMesh Vert* allocated for it in the input IMesh? */
Array<const Vert *> mesh_to_imesh_vert;
/* Similarly for each Mesh poly. */
Array<Face *> mesh_to_imesh_face;
@@ -832,4 +832,4 @@ Mesh *BKE_mesh_boolean(const Mesh **UNUSED(meshes),
#endif
} // extern "C"
} // extern "C"

View File

@@ -71,7 +71,7 @@ struct OpenVDBLevelSet *BKE_mesh_remesh_voxel_ovdb_mesh_to_level_set_create(
unsigned int totverts = mesh->totvert;
float *verts = (float *)MEM_malloc_arrayN(totverts * 3, sizeof(float), "remesh_input_verts");
unsigned int *faces = (unsigned int *)MEM_malloc_arrayN(
totfaces * 3, sizeof(unsigned int), "remesh_intput_faces");
totfaces * 3, sizeof(unsigned int), "remesh_input_faces");
for (unsigned int i = 0; i < totverts; i++) {
MVert *mvert = &mesh->mvert[i];
@@ -175,7 +175,7 @@ static Mesh *BKE_mesh_remesh_quadriflow(Mesh *input_mesh,
unsigned int totverts = input_mesh->totvert;
float *verts = (float *)MEM_malloc_arrayN(totverts * 3, sizeof(float), "remesh_input_verts");
unsigned int *faces = (unsigned int *)MEM_malloc_arrayN(
totfaces * 3, sizeof(unsigned int), "remesh_intput_faces");
totfaces * 3, sizeof(unsigned int), "remesh_input_faces");
for (unsigned int i = 0; i < totverts; i++) {
MVert *mvert = &input_mesh->mvert[i];