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:
authorBrecht Van Lommel <brecht@blender.org>2022-01-05 17:09:53 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-01-05 17:35:30 +0300
commit86141a75ebc5d0517edf71f2bc2fe7d0d13d8b5e (patch)
treeb42fe0b9d11fa59260ad68a9be000bea46f048f7 /intern/opensubdiv/internal
parent29ab711efa01a94d7d407c29755cd697dbd02276 (diff)
Cleanup: fix typos in source code in intern/
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D13532
Diffstat (limited to 'intern/opensubdiv/internal')
-rw-r--r--intern/opensubdiv/internal/topology/mesh_topology.cc2
-rw-r--r--intern/opensubdiv/internal/topology/mesh_topology.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/intern/opensubdiv/internal/topology/mesh_topology.cc b/intern/opensubdiv/internal/topology/mesh_topology.cc
index 29c387876ef..461a85fbdfb 100644
--- a/intern/opensubdiv/internal/topology/mesh_topology.cc
+++ b/intern/opensubdiv/internal/topology/mesh_topology.cc
@@ -183,7 +183,7 @@ void MeshTopology::setNumFaces(int num_faces)
num_faces_ = num_faces;
// NOTE: Extra element to store fake face past the last real one to make it
- // possible to calculate number of verticies in the last face.
+ // possible to calculate number of vertices in the last face.
faces_first_vertex_index_.resize(num_faces + 1, 0);
}
diff --git a/intern/opensubdiv/internal/topology/mesh_topology.h b/intern/opensubdiv/internal/topology/mesh_topology.h
index 861614482ef..a2fad890d9d 100644
--- a/intern/opensubdiv/internal/topology/mesh_topology.h
+++ b/intern/opensubdiv/internal/topology/mesh_topology.h
@@ -111,7 +111,7 @@ class MeshTopology {
// Pipeline related.
// This function is to be called when number of vertices, edges, faces, and
- // face-verticies are known.
+ // face-vertices are known.
//
// Usually is called from the end of topology refiner factory's
// resizeComponentTopology().
@@ -162,7 +162,7 @@ class MeshTopology {
int num_faces_;
- // Continuous array of all verticies of all faces:
+ // Continuous array of all vertices of all faces:
// [vertex indices of face 0][vertex indices of face 1] .. [vertex indices of face n].
vector<int> face_vertex_indices_;